{% from 'security/_macros.html' import render_input %} Two-Factor Setup

Set up two-factor authentication

{% if primary_method != 'none' %}

Authenticator is enabled.

{{ two_factor_setup_form.hidden_tag() }} {{ render_input(two_factor_setup_form.token) }}
{% elif chosen_method == 'authenticator' %}

Scan this QR code in your authenticator app.

TOTP QR

Or enter this secret manually: {{ authr_key }}

{{ two_factor_setup_form.hidden_tag() }} {{ render_input(two_factor_setup_form.token) }}
{% else %} Set up authenticator {% endif %}