{% extends "base.html" %} {% block title %}Settings — allowthem{% endblock %} {% block body %}

Settings

{# --- Section 1: Profile --- #}

Profile

{% if profile_success %}
{{ profile_success }}
{% endif %} {% if profile_error %}
{{ profile_error }}
{% endif %}

{# --- Section 2: Change Password --- #}

Change password

{% if password_success %}
{{ password_success }}
{% endif %} {% if password_error %}
{{ password_error }}
{% endif %}

{# --- Section 3: Linked Accounts --- #}

Linked accounts

{% if oauth_accounts %}
    {% for account in oauth_accounts %}
  • {{ account.provider }} {{ account.email }}
    Linked {{ account.created_at }}
  • {% endfor %}
{% else %}

No linked accounts.

{% endif %}

{# --- Section 4: MFA Status --- #}

Two-factor authentication

{% if mfa_enabled %}
Enabled — {{ mfa_recovery_remaining }} of 10 recovery codes remaining
{% else %}
Not configured.
Enable 2FA
{% endif %}
{% endblock %}