{% extends 'base.html' %} {% load i18n %} {% block head %} {{ wizard.form.media }} {% endblock %} {% block content %}

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

{% if wizard.steps.current == 'welcome' %}

{% blocktrans %}You are about to take your account security to the next level. Follow the steps in this wizard to enable two-factor authentication.{% endblocktrans %}

{% elif wizard.steps.current == 'method' %}

{% blocktrans %}Please select which authentication method you would like to use.{% endblocktrans %}

{% elif wizard.steps.current == 'generator' %}

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

QR Code

{% elif wizard.steps.current == 'sms' %}

{% blocktrans %}Please enter the phone number you wish to receive the text messages on. This number will be validated in the next step.{% endblocktrans %}

{% elif wizard.steps.current == 'sms-verify' %}

{% blocktrans %}A text message has been sent, please enter the authentication code displayed on your phone.{% endblocktrans %}

{% elif wizard.steps.current == 'call' %}

{% blocktrans %}Please enter the phone number you wish to be called on. This number will be validated in the next step. {% endblocktrans %}

{% endif %}
{% csrf_token %} {{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {{ form }} {% endfor %} {% else %} {{ wizard.form }} {% endif %}
{# hidden submit button to enable [enter] key #}
{% if wizard.steps.prev %} {% endif %}
{% endblock %}