{% extends "base_generic.html" %} {% load i18n %} {% block pagetitle %}{% trans "Multi-factor authentication" %}{% endblock %} {% block content %}
{% trans "Account security" %}

{% trans "Multi-factor authentication" %}

{% trans "Manage the checks that protect your Ghostwriter account when you sign in." %}

{% trans "Sign-in protection" %} {% if is_mfa_enabled %} {% trans "Multi-factor authentication is active" %}

{% trans "Keep at least one recovery method available before changing an active method." %}

{% else %} {% trans "No multi-factor method is active" %}

{% trans "Add an authenticator app or security key to protect your account." %}

{% endif %}
{% if "totp" in MFA_SUPPORTED_TYPES %} {% endif %} {% if "webauthn" in MFA_SUPPORTED_TYPES %} {% endif %} {% if "recovery_codes" in MFA_SUPPORTED_TYPES %} {% with total_count=authenticators.recovery_codes.generate_codes|length unused_count=authenticators.recovery_codes.get_unused_codes|length %} {% endwith %} {% endif %}
{% endblock content %}