{% extends 'paxalia/base.html' %} {% load static i18n %} {% block title %}{% trans "Two-Factor Authentication" %} – Paxalia Analytics{% endblock %} {% block page_title %}{% trans "Two-Factor Authentication" %}{% endblock %} {% block page_subtitle %}{% trans "Protect your account with an authenticator app" %}{% endblock %} {% block extra_css %} {% endblock %} {% block dashboard_content %}
{% if already_enrolled %}

{% trans "Two-factor authentication is enabled" %}

{% trans "Your account is protected with an authenticator app." %}

{% csrf_token %}

{% trans "Set up a new authenticator instead" %}

{% else %}

{% trans "Set up an authenticator app" %}

  1. {% trans "Open your authenticator app (Google Authenticator, 1Password, Authy, etc.)." %}
  2. {% trans "Add a new account using this setup key, or open the link below on the same device:" %}
    {{ otpauth_url }}
  3. {% trans "Enter the 6-digit code your app shows below to finish setup." %}
{% csrf_token %}
{% endif %}
{% endblock %} {% block page_scripts %} {% endblock %}