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

Profile Information

Account Details
Username: {{ user.username }}
Email: {{ user.email }}
Account ID: {{ user.id }}
Member Since: {{ user.created_at.strftime('%B %d, %Y') if user.created_at else 'N/A' }}
Last Login: {{ user.last_login.strftime('%Y-%m-%d %H:%M:%S') if user.last_login else 'First login' }}
Quick Actions
Dashboard

Security Settings

Two-Factor Authentication
{% if user.is_2fa_enabled %}
Enabled
Your account is protected with 2FA
{% else %}
Setup Required
Complete 2FA setup for better security
Setup 2FA {% endif %}

Security Score
{% if user.is_2fa_enabled %} Excellent - All security features enabled {% else %} Good - Enable 2FA to reach 100% {% endif %}

Account Activity

Account Age

{% if user.created_at %} {{ ((user.created_at - user.created_at).days) if user.created_at else 0 }} days {% else %} New {% endif %}

Security Level

{% if user.is_2fa_enabled %} High {% else %} Medium {% endif %}

Session Status

Active

Account Security Information
Authentication Methods
  • Password Authentication Active
  • Two-Factor Authentication {% if user.is_2fa_enabled %}Active{% else %}Inactive{% endif %}
Security Features
  • CSRF Protection Active
  • Secure Session Active
  • Password Encryption Bcrypt
Security Tip: Your account benefits from multiple layers of security including encrypted passwords, CSRF protection, secure sessions, and optional two-factor authentication. All these features work together to keep your account safe from unauthorized access.
{% endblock %}