{% extends "pretixcontrol/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Add a two-factor authentication device" %}{% endblock %} {% block content %}

{% trans "Add a two-factor authentication device" %}

{% trans "To set up this device, please follow the following steps:" %}

  1. {% trans "Download the Google Authenticator application to your phone:" %}
  2. {% trans "Add a new account to the app by scanning the following barcode:" %}

    {% trans "Can't scan the barcode?" %}

    1. {% trans 'Use the "provide a key" option of your authenticator app.' %}
    2. {% trans 'In "Account name", type your login name for pretix.' %}
    3. {% trans 'In "Secret"/"Account Key", enter the following code:' %}
      {{ secretGrouped }}
      Spaces don't matter.
    4. {% trans 'If present, make sure "Time-based"/"TOTP" and 6 digit codes are selected.' %}
  3. {% trans "Enter the displayed code here:" %}
    {% csrf_token %}
{% endblock %}