Ticket #14994: docs.topics.auth.patch
File docs.topics.auth.patch, 672 bytes (added by , 14 years ago) |
---|
-
docs/topics/auth.txt
1537 1537 ADMIN_LOGIN = 'admin' 1538 1538 ADMIN_PASSWORD = 'sha1$4e987$afbcf42e21bd417fb71db8c66b321e9fc33051de' 1539 1539 """ 1540 1541 supports_object_permissions = False 1542 supports_anonymous_user = False 1543 supports_inactive_user = False 1544 1540 1545 def authenticate(self, username=None, password=None): 1541 1546 login_valid = (settings.ADMIN_LOGIN == username) 1542 1547 pwd_valid = check_password(password, settings.ADMIN_PASSWORD)