{% extends "office/base_headline.html" %} {% load bootstrap4 %} {% load i18n %} {% load qrcode_inline %} {% block headline %}{% trans "Set up multi-factor authentication" %}{% endblock %} {% block content %} {% if request.mfa_locked %}
{% trans "Multi-factor authentication is required for all administrators of this byro installation. Please set it up to continue." %}
{% endif %}
{% trans "Step 1: Add byro to your authenticator app" %}

{% trans "Scan this QR code with your authenticator app (for example Aegis, Google Authenticator, Microsoft Authenticator, 1Password or Bitwarden)." %}

{% trans

{% trans "Or enter this key manually:" %}

{{ manual_key }}

{% trans "Type: time-based (TOTP), 6 digits, 30 seconds, SHA-1." %}

{% trans "Step 2: Confirm" %}
{% csrf_token %}

{% trans "Enter the six-digit code generated by your authenticator app:" %}

{% bootstrap_form form %} {% if not request.mfa_locked %} {% trans "Cancel" %} {% endif %}

{% trans "Multi-factor authentication is only enabled after a code has been verified successfully. You will then receive recovery codes for the case that you lose access to your authenticator app." %}

{% endblock %}