{% extends "maykin_2fa/base.html" %} {% load i18n two_factor_tags %} {% block content %} {# Users *may* end up here if they came in through a non-mfa required authentication backend. #} {% if default_device %}

{% trans "Your second factor is:" %}

{{ default_device|as_action }}

{# phone methods block from upstream is omitted as we don't support that at this stage #}

{% trans "Backup tokens" %}

{% blocktrans trimmed %} If you don't have any device with you, you can access your account using backup tokens. {% endblocktrans %} {% blocktrans trimmed count counter=backup_tokens %} You have only one backup token remaining. {% plural %} You have {{ counter }} backup tokens remaining. {% endblocktrans %}

{% if backup_tokens %} {% trans "Manage backup tokens" %} {% else %} {% trans "Generate backup tokens" %} {% endif %}

{% trans "Disabling multi-factor authentication" %}

{% blocktrans trimmed %} Multi-factor authentication is mandatory for the admin interface. You cannot disable it. {% endblocktrans %}

{% else %}

{% blocktrans trimmed %} Currently you don't have any multi-factor authentication enabled on your account. This likely means that you are using a single-sign-on solution. {% endblocktrans %}

{% endif %} {% endblock %}