{% include 'header.html' %}

Setup Two-Factor Authentication

{% if step == 'generate' %}

Your role requires two-factor authentication. Let's set it up now.

You'll need an authenticator app like Google Authenticator, Authy, or Microsoft Authenticator.

{% elif step == 'verify' %}

Scan this QR code with your authenticator app:

QR Code

Or enter this secret manually:

{{ secret }}
{% if error %}
{{ error }}
{% endif %}
{% elif step == 'backup_codes' %}

Important: Save Your Backup Codes

These codes can be used to access your account if you lose your authenticator device. Store them in a safe place. Each code can only be used once.

Your Backup Codes

{% for code_pair in backup_codes %}
{{ code_pair }}
{% endfor %}
Continue
{% endif %}