{% extends "security/base.html" %} {% from "security/_macros.html" import render_field_with_errors, render_field %} {% block content %} {% include "security/_messages.html" %}

{{ _fsdomain("Two-factor Authentication") }}

{{ _fsdomain("Please enter your authentication code") }}

{{ two_factor_verify_code_form.hidden_tag() }} {{ render_field_with_errors(two_factor_verify_code_form.code, placeholder="enter code") }} {{ render_field(two_factor_verify_code_form.submit) }}
{{ two_factor_rescue_form.hidden_tag() }} {{ render_field_with_errors(two_factor_rescue_form.help_setup) }} {% if problem=="lost_device" %}

{{ _fsdomain("The code for authentication was sent to your email address") }}

{% endif %} {% if problem=="no_mail_access" %}

{{ _fsdomain("A mail was sent to us in order to reset your application account") }}

{% endif %} {{ render_field(two_factor_rescue_form.submit) }}
{% include "security/_menu.html" %} {% endblock %}