Login Information
| Failed Login Attempts: |
{{ user.failed_login_attempts }}
{% if user.failed_login_attempts > 10 %}
High
{% endif %}
{% if user.failed_login_attempts >= 50 %}
Account Locked
{% endif %}
|
| Last Failed Login: |
{{ user.last_failed_login.strftime('%Y-%m-%d %H:%M:%S') if user.last_failed_login else 'Never' }} |
| Last Successful Login: |
{{ user.last_successful_login.strftime('%Y-%m-%d %H:%M:%S') if user.last_successful_login else 'Never' }} |
{% if user.failed_login_attempts > 0 %}
{% endif %}