{% extends 'user/account/index.html' %} {% load two_factor i18n inboxen_account bootstrap %} {% block navigation %} {% account_menu 'user-security' %} {% endblock %} {% block form %} {% if wizard.steps.current == 'welcome' %}

{% blocktrans %} You are about to take your account security to the next level. Follow the steps in this wizard to enable two-factor authentication. {% endblocktrans %}

{% elif wizard.steps.current == 'method' %}

{% blocktrans %} Please select which authentication method you would like to use. {% endblocktrans %}

{% elif wizard.steps.current == 'generator' and qr %}

{% blocktrans %} To start using a token generator you will need an application that read TOTP QR codes. FreeOTP is a good example and is Free Software too! Scan in the image below and enter the number your applications displays. {% endblocktrans %}

QR Code

{% blocktrans %} Alternatively, if you're unable to use QR codes, click here to view the code as letters and numbers. {% endblocktrans %}

{% elif wizard.steps.current == 'generator' and not qr %}

{% blocktrans %} Manually type this code into your token generator (or copy and paste it if you prefer): {% endblocktrans %}

{{ secret }}
{% endif %}
{% csrf_token %} {{ wizard.management_form }} {{ wizard.form|bootstrap_inline }} {% trans "Cancel" %}
{% endblock %}