{% extends "maykin_2fa/base.html" %} {% load i18n %} {% block content %}
{% blocktrans trimmed %} Backup tokens can be used if you have lost access to your second factor device(s). 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. Only the backup tokens shown below will be valid. {% endblocktrans %}
{% if device.token_set.all %}{{ token.token }}
{% blocktrans trimmed %}Print these tokens and keep them somewhere safe.{% endblocktrans %}
{% blocktrans trimmed %} If you generate tokens again, they will replace the existing tokens. {% endblocktrans %}
{% else %}{% trans "⚠️ You don't have any backup tokens yet." %}
{% endif %} {% endblock %}