Authentication backend for django that uses a one time code instead of passwords
Project description
This project was originally inspired by Is it time for password-less login? by Ben Brown
Installation
Run this command to install django-nopassword
pip install django-nopassword
Requirements
Django >= 1.4 (1.5 custom user is supported)
Usage
Add the app to installed apps
INSTALLED_APPS = (
...
'nopassword',
...
)
Set the authentication backend to EmailBackend
AUTHENTICATION_BACKENDS = ( 'nopassword.backends.email.EmailBackend', )
Add urls to your urls.py
urlpatterns = patterns('',
...
url(r'^accounts/', include('nopassword.urls', namespace='nopassword')),
...
)
Settings
Information about the available settings can be found in the docs
Tests
Run with python setup.py test. To run with sqlite add USE_SQLITE = True in tests/local.py
MIT © Rolf Erik Lekang
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_nopassword-3.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d895ff57ded596b611d06aedc138b3acad20340bb20109c50ca52773738eebb |
|
MD5 | 277335f21cbb50f55e26c219341f8957 |
|
BLAKE2b-256 | dd65bc0c0cccb487863e3d9941e54d905c48354c6cc6fdc74e7a593a27f72f96 |