{% extends "two_factor/_base.html" %} {% load i18n %} {% block content %}

{% block title %} {% trans "Backup Tokens" %} {% endblock %}


Backup Tokens

Backup tokens can be used when your primary and backup phone numbers aren't available. The backup tokens can be used for login verifications. If you've used up all your backup tokens, you can generate a new set of backup tokens.

{% if device.token_set.count %}

Only the backup tokens shown below will be vailid.

    {% for token in device.token_set.all %}
  • {{ token.token }}
  • {% endfor %}

{% blocktrans %}Print these tokens and keep them somewhere safe.{% endblocktrans %}

{% else %}

{% trans "You don't have any backup codes yet." %}

{% endif %}
{% csrf_token %} {{ form.as_p }}

{% endblock %}