{% extends "base.html" %} {% load i18n %} {% block title %}Two-Factor Authentication{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% trans "Two-Factor Authentication" %}

{% trans 'Two-Factor Authentication is enabled for your account.' %}

{% trans "Back-Up Tokens" %}

{% trans "If you have lost access to your authentication device, you can use back-up tokens for authentication instead. Back-up tokens can be used in the same way as the tokens generated by your authentication device. Make sure to keep your back-up tokens secret and store them in a secure place. Should you run out of tokens, you can generate new ones on this page." %}

{% if backup_tokens %} {% if reveal_tokens %}

{% trans "We have generated the following back-up tokens. These will only be displayed once. Please keep them secret and store them securely." %}

{% else %}

{% trans 'Backup tokens have been generated, but are not revealed here for security reasons. Press the button below to generate new ones.' %}

{% endif %} {% else %}

{% trans 'No tokens. Press the button below to generate some.' %}

{% endif %}
{% csrf_token %}

{% trans "Disable Two-Factor Authentication" %}

{% trans 'You can disable two-factor authentication for your account at any time.' %}

Disable Two Factor Authentication {% endblock %}