{% extends "layout.html" %} {% block content %}
Username: {{ user.username }}
Account Type: {% if user.is_admin %}Administrator{% else %}User{% endif %}
Member Since: {{ user.created_at.strftime('%Y-%m-%d') }}
Two-Factor Authentication: {% if user.two_factor_enabled %} ✅ Enabled {% else %} ❌ Disabled {% endif %}
Update your account password to keep your account secure.
Two-factor authentication is enabled for your account. This adds an extra layer of security by requiring a code from your authenticator app when logging in.
{% else %}Two-factor authentication is not enabled for your account. We strongly recommend enabling it to protect your account.
With 2FA enabled, you'll need both your password and a code from your phone to log in.
Enable Two-Factor Authentication {% endif %}