{# The multi-factor authentication code verification template. Displays a form that asks for the multi-factor authentication code. :param form: The code verification form. :type form: :class:`~canaille.core.endpoints.forms.TwoFactorForm` #} {% extends g.auth.template or 'core/auth/base.html' %} {% import 'core/partial/login_field.html' as login_field %} {% block script %} {% endblock %} {% block auth_subtitle %}
{{ _("One-time passcode authentication.") }}
{% endblock %} {% block auth_form_content %}
{% trans %}Open your authenticator application{% endtrans %}
{% trans %} Generate a one-time passcode with your authenticator application and fill it in the form below. {% endtrans %}
{{ login_field.render_field(form.otp, class="autofocus") }} {% endblock %} {% block auth_right_buttons %} {% endblock %}