Skip to content

A Django auth backend that uses credentials stored in an .htpasswd file.

License

Notifications You must be signed in to change notification settings

boldprogressives/django-htauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Configure your settings like so:

INSTALLED_APPS += ('htauth',)
AUTHENTICATION_BACKENDS = (
    'htauth.backend.HtauthBackend',
    )
HTAUTH_PASSWD_FILENAME = os.path.join('/path/to/my.htpasswd')

All users who log in for the first time via django-htauth will be declared superusers; 
this may change in a future version.

About

A Django auth backend that uses credentials stored in an .htpasswd file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages