{% extends "two_factor/_base_focus.html" %} {% load i18n %} {% block extra_head %} {{ wizard.form.media.css }} {% endblock %} {% block content %}
{% blocktrans %} You are about to take your account security to the next level. Follow the steps in this wizard to add a two-factor authentication method to your account. {% 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 code generator, please use your favourite two-factor authentication (TOTP) app to scan the QR code below. Then enter the token generated by the app. {% endblocktrans %}
{% 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 == 'call' %}{% blocktrans %} Please enter the phone number you wish to be called on. This number will be validated in the next step. {% endblocktrans %}
{% elif wizard.steps.current == 'email' %}{% blocktrans %} We sent you an email, please enter the token we sent. {% endblocktrans %}
{% elif wizard.steps.current == 'validation' %} {% if challenge_succeeded %} {% if device.method == 'call' %}{% blocktrans %} We are calling your phone right now, please enter the digits you hear. {% endblocktrans %}
{% elif device.method == 'sms' %}{% blocktrans %} We sent you a text message, please enter the code we sent. {% endblocktrans %}
{% endif %} {% else %}{% blocktrans %} To identify and verify your YubiKey, please insert a token in the field below. Your YubiKey will be linked to your account. {% endblocktrans %}
{% endif %} {{ wizard.form.media.js }} {% endblock %}