{% extends "two_factor/_base_focus.html" %} {% load i18n %} {% load static %} {% block content %}

{% trans "Enable Two-Factor Authentication" %}

{% if verified and wizard.steps.current == 'generator' %}

{% blocktrans trimmed %} To start using a token generator, please use your smartphone to scan the QR code below or use the setup key. For example, use GoogleAuthenticator. Then, enter the token generated by the app. {% endblocktrans %}

QR Code

{% blocktrans trimmed %} The secret key is a 32 characters represenation of the QR code. There are 2 options to setup the two factor authtentication. You can scan the QR code above or you can insert this key using the secret key option of the authenticator app. {% endblocktrans %}

{% csrf_token %} {% include "two_factor/_wizard_forms.html" with step=wizard.steps.current %} {# hidden submit button to enable [enter] key #} {% include "two_factor/_wizard_actions.html" with step=wizard.steps.current %}
{% else %}

{% blocktrans trimmed %}The current user has not been verified by a system administrator yet.{% endblocktrans %}

{% endif %} {% endblock %}