{% extends "base.html" %} {% load i18n %} {% block main_content %}

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

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

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

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

Please select which authentication method you would like to use.

{% 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' %}

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

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

Please enter the phone number you wish to be called on. This number will be validated in the next step.

{% elif wizard.steps.current == 'validation' %} {% if challenge_succeeded %} {% if device.method == 'call' %}

We are calling your phone right now, please enter the digits you hear.

{% elif device.method == 'sms' %}

We sent you a text message, please enter the tokens we sent.

{% endif %} {% else %} {% endif %} {% elif wizard.steps.current == 'yubikey' %}

To identify and verify your YubiKey, please insert a token in the field below. Your YubiKey will be linked to your account.

{% endif %}
{% csrf_token %} {% include "two_factor/_wizard_forms.html" %} {% include "two_factor/_wizard_actions.html" %}
{% endblock %} {% block extra_script %} {% endblock %}