{% extends "admin/base_site.html" %} {% load i18n static %} {% block title %}Two-Factor Authentication{% endblock %} {% block extrahead %} {% endblock %} {% block content %}

Two-Factor Authentication

Please verify your identity using one of your configured 2FA methods:

{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %} {% if 'totp' in available_methods %}

📱 Authenticator App

Enter the 6-digit code from your authenticator app

{% endif %} {% if 'passkey' in available_methods %}

🔑 Passkey

Use your device's built-in security (fingerprint, face ID, or PIN)

{% endif %} {% if 'backup' in available_methods %}

🔐 Backup Code

Enter one of your backup codes

{% endif %} {% if available_methods|length == 0 or available_methods|length == 1 and 'backup' in available_methods %}

⚙️ Complete 2FA Setup

It looks like your 2FA setup may be incomplete. Click here to complete the setup process.

{% endif %} {% if 'totp' in available_methods %}
{% csrf_token %}
{% endif %} {% if 'passkey' in available_methods %}

Authenticating with passkey...

{% endif %} {% if 'backup' in available_methods %}
{% csrf_token %}
{% endif %}
{% endblock %}