- This project demonstrates 2-Factor Authentication. 2-Factor Authentication provides stronger security for your Account by requiring a second verification step when you sign in. In addition to your password, you’ll also need a code generated by the Google Authenticator app on your phone. User will get a Time-Based One Time Password(TOTP).
To run this project, clone the repository and run the following commands in the directory :
virtualenv env
source env/bin/activate
pip install -r requirements.txt
cd src
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Make sure to add a superuser before starting your app by running :
python manage.py createsuperuser
In your browser open localhost:8000/account/login
To add new users, go to http://localhost:8000/admin