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

Warning!

Once a new factor has been added to your account, you can not access your account anymore using only your password. If you remove all your second factors, 2 Factor Authentication is automatically disabled for your account.

Add Authenticator App Add Security Key

{% for f in user.two_factor %} {% endfor %}
Factor type Name Actions
Factor icon{{ f.type_str() }} {{ f.name }} Delete
{% if !user.last_successful_2fa.is_empty() %}
Successful 2FA login history

Clear history

{% for e in user.get_formatted_2fa_successful_logins() %} {% endfor %}
IP address Location Date Bypass 2FA
{{ e.ip }} {{ e.fmt_time() }} {% if e.can_bypass_2fa %}YES{% else %}NO{% endif %}
{% endif %}
{% if let Some(last_2fa_auth) = last_2fa_auth %}

Last successful 2FA authentication on this browser: {{ last_2fa_auth }}

{% endif %} {% endblock content %}