{% extends "office/base.html" %} {% load bootstrap4 %} {% load i18n %} {% block title %}{% trans "Multi-factor authentication" %}{% endblock %} {% block headline %} {% trans "Multi-factor authentication" %} {% endblock %} {% block content %}
{% csrf_token %}

{% if use_recovery %} {% trans "Enter one of your recovery codes. Each code can only be used once." %} {% else %} {% trans "Enter the code from your authenticator app." %} {% endif %}

{% bootstrap_form form %}
{% if use_recovery %} {% trans "Use your authenticator app instead" %} {% elif recovery_codes_available %} {% trans "Use a recovery code" %} {% endif %}
{% endblock %}