{% extends "base.html" %} {% load i18n %} {% load translations %} {% load authnames %} {% load crispy_forms_tags %} {% load icons %} {% load otp_webauthn %} {% block breadcrumbs %}
  • {% trans "Your profile" %}
  • {% trans "Recovery codes" %}
  • {% endblock %} {% block content %}

    {% documentation_icon 'admin/auth' '2fa' right=True %} {% trans "Two-factor recovery codes" %}

    {% trans "Recovery codes can be used to access your account if you lose access to your device and cannot receive two-factor authentication codes." %}

    {% trans "Keep your recovery codes in a safe spot, like in a password manager. These codes are the last resort for accessing your account in case you lose your password and other second factors. If you cannot find these codes when needed, you will lose access to your account." %}
    {% if recovery_codes %}
    {% trans "Recovery codes" %}
    {% else %}

    {% trans "There are currently no recovery codes generated." %}

    {% endif %}
    {% trans "Generate new recovery codes" %}

    {% trans "When you generate new recovery codes, you must download or print the new codes." %} {% trans "Your old codes will become invalid and won't work anymore." %}

    {% trans "Generate new recovery codes" %}

    {% trans "Back to account settings" %}

    {% endblock %}