{% extends "base-apply.html" %} {% load i18n wagtailcore_tags heroicons %} {% block title %}{% trans "Log in" %}{% endblock %} {% block body_class %}bg-white{% endblock %} {% block content %}
{% if wizard.steps.current == 'token' %} {% if device.method == 'call' %}

{% blocktrans trimmed %}We are calling your phone right now, please enter the digits you hear.{% endblocktrans %}

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

{% blocktrans trimmed %}We sent you a text message, please enter the tokens we sent.{% endblocktrans %}

{% else %}

{% trans "Two factor verification" %}

{% blocktrans trimmed %}Please enter the 6-digit verification code generated by your Authenticator App.{% endblocktrans %}

{% endif %} {% elif wizard.steps.current == 'backup' %}

{% trans "Two factor verification" %}

{% blocktrans trimmed %}Please enter one of the backup codes to log in to your account.{% endblocktrans %}

{% blocktrans trimmed %}Those codes were generated for you during 2FA setup to print or keep safe in a password manager.{% endblocktrans %}

{% endif %}
{# 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" %}
{% if backup_tokens %}

{% trans "As a last resort, you can use a backup codes: " %}

{% endif %} {% endif %}
{% endblock %}