{% extends 'paxalia/auth_base.html' %} {% load static i18n %} {% block title %}{% trans "Set up two-factor authentication" %} ยท {{ brand_name }}{% endblock %} {% block content %}

{% trans "Layer 2" %}

{% trans "Set up two-factor authentication" %}

{% trans "Administrator access requires a confirmed authenticator before a device can be authorized." %}

{% if configuration_error %} {% elif already_enabled %}
{% trans "Two-factor authentication is already enabled for this administrator." %}
{% trans "Open security settings" %} {% else %}
1{% trans "Open your authenticator app." %}
2{% trans "Scan the QR code below with your authenticator app." %}
3{% trans "Enter the six-digit code your app generates to confirm enrollment." %}
{% if qr_code_data_uri %}

{% trans "Scan to add Paxalia" %}

{% trans "Open Google Authenticator, 1Password, Microsoft Authenticator, Authy, or another TOTP app and scan this code." %}

{% trans 'QR code for adding Paxalia Dashboard to your authenticator app' %}
{% endif %} {% if totp_secret %}
{% trans "Manual setup key" %} {{ formatted_totp_secret }} {% trans "Use this only when scanning the QR code is not possible." %}
{% endif %} {% if not qr_code_data_uri %}
{% trans "The QR image could not be generated here. Use the manual setup key above." %}
{% endif %} {% if rate_limited %} {% endif %}
{% csrf_token %}
{% endif %}
{% endblock %}