{# 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 %}
{{ _("Email verification code.") }}
{% endblock %} {% block auth_form_content %}
{% trans %}Check your mailbox{% endtrans %}
{% trans %} If the login you filled exists, an email containing a verification code has been sent to your mail address. Please fill the code in the following form to continue. {% endtrans %}
{{ login_field.render_field(form.otp, class="autofocus") }} {% endblock %} {% block auth_right_buttons %} {% endblock %}