{% extends 'page.html' %} {% import 'macros/form.html' as form %} {% block subtitle %}{{ _('Manage 2FA') }}{% endblock %} {% block breadcrumb_content %}
  • {{ _('Users') }}
  • {{ user_dict.display_name }}
  • {{ _('Manage 2FA') }}
  • {% endblock %} {% block secondary_content %}

    {{ _('Manage 2FA') }}

    {{ _("Scan the image with the two factor authentication app on your phone.") }}

    {{ _("Test") }}: {{ _("Enter the two factor authentication code from your app to test correct configuration.") }}

    {{ _("Regenerate secret") }}: {{ _("You might need it if you lost an access to your 2FA device or want to setup another one.") }}

    {% endblock %} {% block page_header %} {% endblock %} {% block primary_content_inner %}
    {{ h.csrf_input() }} {% snippet "auth/snippets/2fa_qr_code.html", totp_secret=totp_secret, provisioning_uri=provisioning_uri %}
    {{ _("Back") }} {{ _('Regenerate 2FA secret') }}
    {% endblock %}