{% extends 'user/account/index.html' %} {% load two_factor i18n inboxen_account bootstrap %} {% block navigation %} {% account_menu 'user-security' %} {% endblock %} {% block form %}

{% blocktrans %} Backup tokens can be used when your usual method isn't available. The backup tokens below can be used for login verification. If you've used up all your backup tokens, you can generate a new set of backup tokens. Only the backup tokens shown below will be valid. {% endblocktrans %}

{% for token in device.token_set.all %} {% empty %} {% endfor %}
{{ token.token }}
{% trans "You don't have any backup codes yet." %}

{% blocktrans %}Keep these tokens somewhere safe.{% endblocktrans %}

{% csrf_token %} {{ form|bootstrap }} {% trans "Back" %}
{% endblock %}