{% extends "sentry/bases/twofactor_settings.html" %} {% load i18n %} {% load sentry_helpers %} {% block title %}{% trans "Two-Factor Authentication" %} | {{ block.super }}{% endblock %} {% block twofactor_title %}{% trans "Two-factor Authentication" %}{% endblock %} {% block twofactor_body %} {% if has_2fa %}

{% blocktrans %}Two-factor authentication is enabled.{% endblocktrans %}

{% else %}

{% blocktrans %}Two-factor authentication is currently disabled.{% endblocktrans %}

{% endif %}

Two-factor authentication improves your security by requiring an authentication code in addition to your password.

{% for auth in interfaces %}
{% if auth.is_enrolled %} {% if auth.configure_button %} {{ auth.configure_button }} {% endif %} {% if auth.remove_button %}
{% csrf_token %}
{% endif %} {% else %} {% if not has_2fa and auth.is_backup_interface %} this can only be managed if 2FA is enabled {% else %}
{% csrf_token %}
{% endif %} {% endif %}

{{ auth.name }}

{{ auth.description }}

{% endfor %}
{% csrf_token %}
{% endblock %}