{% include 'header.html' %}

Account Settings

{% if success %}
{{ success }}
{% endif %} {% if error %}
{{ error }}
{% endif %}

Change Password

Two-Factor Authentication

{% if totp_enabled %}
2FA is currently enabled for your account.

Backup Codes

Backup codes can be used to access your account if you lose your authenticator device. Each code can only be used once.

{% if backup_codes %}
{% for code_pair in backup_codes %}
{{ code_pair }}
{% endfor %}
{% else %}

You don't have any backup codes. Generate new ones below.

{% endif %}
{% else %}
2FA is currently disabled for your account. {% if role_requires_2fa %}
Note: Your role requires 2FA. You should enable it now. {% endif %}
Enable 2FA
{% endif %}