{% extends "office/settings/base.html" %} {% load i18n %} {% block title %}{% trans "Multi-factor authentication" %}{% endblock %} {% block settings_content %}
{% trans "Multi-factor authentication" %}
{% if status.enabled %}

{% trans "Status:" %} {% trans "Enabled" %}

{% trans "Authenticator app" %}
{% trans "Configured" %} {% if status.device.last_used_at %} ({% blocktrans trimmed with date=status.device.last_used_at|date:"SHORT_DATETIME_FORMAT" %} last used {{ date }} {% endblocktrans %}) {% endif %}
{% trans "Recovery codes" %}
{% blocktrans trimmed count counter=status.recovery_codes_remaining %} {{ counter }} remaining {% plural %} {{ counter }} remaining {% endblocktrans %}
{% if status.recovery_codes_remaining == 0 %}
{% trans "You have no recovery codes left. Generate new recovery codes now so you are not locked out if you lose your authenticator app." %}
{% endif %} {% trans "Generate new recovery codes" %} {% if can_disable %} {% trans "Disable MFA" %} {% else %}

{% trans "Multi-factor authentication is required for all backend users of this byro installation and cannot be disabled." %}

{% endif %} {% else %}

{% trans "Status:" %} {% trans "Not configured" %}

{% if status.required_by_policy %}
{% trans "Multi-factor authentication is required for all backend users of this byro installation. Please set it up now." %}
{% endif %}

{% trans "Protect your account with an authenticator app (TOTP), for example Aegis, Google Authenticator, Microsoft Authenticator, 1Password or Bitwarden." %}

{% trans "Set up MFA" %} {% endif %}
{% endblock %}