{% extends "base_account.html" %} {% load i18n two_factor %} {% load include_asset %} {% block content %}

{% block title %}{% trans "Two-Factor Authentication" %}{% endblock %}

{% trans "Backup Tokens" %}

{% trans "Tokens will be generated by your token generator." %}

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

{% if default_device %}

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

{% include_asset "images/2fa.svg" %}
{% blocktrans %}However we strongly discourage you to do so, you can also disable two-factor authentication for your account.{% endblocktrans %}
{% else %}

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

{% include_asset "images/2fa.svg" %}
{% blocktrans %}Two-factor authentication is not enabled for your account. Enable two-factor authentication for enhanced account security.{% endblocktrans %}
{% endif %}
{% endblock %}