{% extends 'layout.html' %} {% block content %} Two-Factor Authentication Add an extra layer of security to your account {% include "security/_messages.html" %} {% if primary_method != 'none' %}
{{ primary_method }}
Currently enabled
{{ two_factor_setup_form.hidden_tag() }} Disable
{% endif %} {% if chosen_method == "authenticator" %} 1. Scan QR Code

Open your authenticator app (Google Authenticator, Authy, 1Password, etc.) and scan this code:

QR code
2. Enter Verification Code
{{ two_factor_setup_form.hidden_tag() }} Verify & Enable
{% elif primary_method == 'none' %}
Authenticator App
Use Google Authenticator, Authy, or similar
Setup
{% endif %} {% if security.webauthn and current_user.is_authenticated and not chosen_method %}
Passkeys
Hardware keys or device passkeys for passwordless sign-in
Manage
{% endif %} {% if security.support_mfa and security.multi_factor_recovery_codes and not chosen_method %}
Recovery Codes
Backup codes for account recovery
Manage
{% endif %}
{% endblock %} {% block js %} {% endblock %}