{% extends "hidp/base_post_login.html" %} {% load i18n %} {% block title %}{% translate 'Two-factor authentication' %}{% endblock %} {% block main %}

{% translate 'Recovery codes' %}

{% blocktranslate trimmed %} These codes can be used to log in if you lose access to your two-factor device. You can generate new codes at any time, but you can only have one set of codes at a time. {% endblocktranslate %}

{% translate "Warning" %}: {% blocktranslate trimmed %} Keep these codes safe. These codes are the only way to log in if you lose access to your two-factor device. {% endblocktranslate %}

{{ recovery_codes }}
{% csrf_token %} {% include "hidp/includes/forms/submit_row.html" with submit_label=_('Generate new codes') cancel_label=_('Back') cancel_url=back_url %}
{% endblock %}