vineeshan / django-mfa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-mfa

Documentation Status https://travis-ci.org/MicroPyramid/django-mfa.svg?branch=master Downloads Latest Release https://coveralls.io/repos/github/MicroPyramid/django-mfa/badge.svg?branch=master Code Health

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.

Quick start

Installation

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.

Settings

Add otp_app' to the INSTALLED_APPS to your settings.py.

See the :doc:`settings` section for other settings.

Add 'otp_app.middleware.MfaMiddleware' to the MIDDLEWARE_CLASSES

Urls

Add the following to your root urls.py file.

urlpatterns = [
    ...

    url(r'^settings/', include('otp_app.urls', namespace="mfa")),
]

Done. With these settings you have now, you will get the MFA features.

We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here

About

License:MIT License


Languages

Language:Python 68.1%Language:HTML 26.4%Language:CSS 5.6%