{% extends "base.html" %} {% block content %}

Enable Two-Factor Authentication

Secure your account with an additional layer of protection

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}
Step 1: Scan QR Code
{{ qr_code|safe }}
Instructions:
  1. Install an authenticator app like Google Authenticator or Authy
  2. Open the app and scan this QR code
  3. Enter the 6-digit code from your app below
Step 2: Verify Setup
Enter the 6-digit code from your authenticator app
Cancel

Security Benefits
Enhanced Security
Protect against password theft
Mobile Protection
Secure codes on your device
Location Tracking
Monitor suspicious logins
{% endblock %}