Code

Ticket #14994: docs.topics.auth.patch

File docs.topics.auth.patch, 672 bytes (added by ojii, 3 years ago)

Patch for docs/topics/auth.txt

  • docs/topics/auth.txt

     
    15371537        ADMIN_LOGIN = 'admin' 
    15381538        ADMIN_PASSWORD = 'sha1$4e987$afbcf42e21bd417fb71db8c66b321e9fc33051de' 
    15391539        """ 
     1540         
     1541        supports_object_permissions = False 
     1542        supports_anonymous_user = False 
     1543        supports_inactive_user = False 
     1544         
    15401545        def authenticate(self, username=None, password=None): 
    15411546            login_valid = (settings.ADMIN_LOGIN == username) 
    15421547            pwd_valid = check_password(password, settings.ADMIN_PASSWORD)