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

Welcome to Your Dashboard, {{ user.username }}!

You have successfully logged in with two-factor authentication.

Account Information

View and manage your account settings and security preferences.

Manage Profile
Security Status

{% if user.is_2fa_enabled %} 2FA Enabled {% else %} 2FA Setup Required {% endif %}

Security Settings
Last Login

{% if user.last_login %} {{ user.last_login.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} First login - Welcome! {% endif %}

Keep track of your account activity

Account Activity

Account Details
Username: {{ user.username }}
Email: {{ user.email }}
Account Created: {{ user.created_at.strftime('%Y-%m-%d') if user.created_at else 'N/A' }}
2FA Status: {% if user.is_2fa_enabled %} Enabled {% else %} Setup Required {% endif %}
Security Recommendations
Strong password in use
Two-factor authentication
{% if user.is_2fa_enabled %}✓{% else %}!{% endif %}
Secure session active
Security Tips
  • Always log out when using shared computers
  • Keep your authenticator app backed up
  • Use unique passwords for all accounts
  • Never share your 2FA codes with anyone
  • Check for suspicious account activity regularly
  • Update your password periodically
{% endblock %}