Skip to content

Commit

Permalink
Add two factor authentication documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leportella committed Mar 4, 2019
1 parent 0756327 commit 215f527
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Binary file added docs/_static/login-two-factor-auth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/signup-two-factor-auth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion docs/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ Native Authenticator is based on username and password only. But if you need ext
c.Authenticator.ask_email_on_signup = True
Import users from FirstUse Authenticator
----------------------------------------

Expand Down Expand Up @@ -101,3 +100,22 @@ You can also remove FirstUse's database file after the importation to Native Aut
c.Authenticator.delete_firstuse_db_after_import = True
Add two factor authentication obligatory for users
--------------------------------------------------

You can increase security making two factor authentication obligatory for all users.
To do so, add the following line on the config file:

.. code-block:: python
c.Authenticator.add_two_factor_authentication = True
Users will receive a message after signup with the two factor authentication code:

.. image:: _static/signup-two-factor-auth.png

And login will now require the two factor authentication code as well:


.. image:: _static/login-two-factor-auth.png

0 comments on commit 215f527

Please sign in to comment.