{% extends "account/base.html" %} {% load i18n %} {% block head_title %} {% trans "Two-Factor Authentication" %} {% endblock head_title %} {% block content %}

{% trans "Two-Factor Authentication" %}

{% translate "Authenticator App" %}

{% if authenticators.totp %}

{% translate "Authentication using an authenticator app is active." %}

{% else %}

{% translate "An authenticator app is not active." %}

{% endif %}

{% translate "Recovery Codes" %}

{% if authenticators.recovery_codes %}

{% blocktranslate with total_count=authenticators.recovery_codes.generate_codes|length count unused_count=authenticators.recovery_codes.get_unused_codes|length %}There is {{ unused_count }} out of {{ total_count }} recovery codes available.{% plural %}There are {{ unused_count }} out of {{ total_count }} recovery codes available.{% endblocktranslate %}

{% else %}

{% translate "No recovery codes set up." %}

{% endif %}
{% endblock content %}