Django-mfa is a simple Django app to for providing MFA (Multi-Factor Authentication).
Documentation is avaliable online, or in the docs directory of the project.
The Git repository can be cloned with this command:
git clone https://github.com/MicroPyramid/django-mfa
The django_mfa
package, included in the distribution, should be
placed on the PYTHONPATH
.
Otherwise you can just easy_install -Z django-mfa
or pip install django-mfa
.
Add app name in settings.py:
INSTALLED_APPS = [ '..................', 'django_mfa', '..................' ]
Add 'django_mfa.middleware.MfaMiddleware' to your project middlewares:
MIDDLEWARE = [ '....................................', 'django_mfa.middleware.MfaMiddleware', '....................................', ]
Add the following to your root urls.py file.
urlpatterns = [
...
url(r'^settings/', include('django_mfa.urls', namespace="mfa")),
]
Done. With these settings you have now, you will get the MFA features.
You can try it by hosting on your own or deploy to Heroku with a button click.
Visit our Django web development page Here
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here