{% extends "two_factor/_base.html" %} {% load i18n two_factor %} {% block content %}

{% block title %}{% trans "Account Security" %}{% endblock %}

{% if default_device %} {% if default_device_type == 'TOTPDevice' %}

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

{% elif default_device_type == 'PhoneDevice' %}

{% blocktrans with primary=default_device|device_action %}Primary method: {{ primary }}{% endblocktrans %}

{% elif default_device_type == 'RemoteYubikeyDevice' %}

{% blocktrans %}Tokens will be generated by your YubiKey.{% endblocktrans %}

{% endif %} {% if available_phone_methods %}

{% trans "Backup Phone Numbers" %}

{% blocktrans %}If your primary method is not available, we are able to send backup tokens to the phone numbers listed below.{% endblocktrans %}

{% trans "Add Phone Number" %}

{% endif %}

{% trans "Backup Tokens" %}

{% 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 %}

{% trans "Show Codes" %}

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

{% blocktrans %}Although we strongly discourage you to do so, you can also disable two-factor authentication for your account.{% endblocktrans %}

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

{% else %}

{% blocktrans %}Two-factor authentication is not enabled for your account. Enable two-factor authentication for enhanced account security.{% endblocktrans %}

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

{% endif %} {% endblock %}