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

{% block title %}{% trans "Login" %}{% endblock %}

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

{% blocktrans %}Enter your credentials.{% endblocktrans %}

{% elif wizard.steps.current == 'token' %} {% 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 tokens we sent.{% endblocktrans %}

{% else %}

{% blocktrans %}Please enter the tokens generated by your token generator.{% endblocktrans %}

{% endif %} {% endif %}
{% csrf_token %} {% include "two_factor/_wizard_forms.html" %} {# hidden submit button to enable [enter] key #}
{% if other_devices %}

{% trans "Or, alternatively, use one of your backup phones:" %}

{% for other in other_devices %} {% endfor %}

{% endif %} {% include "two_factor/_wizard_actions.html" %}
{% endblock %}