{% extends 'base.html' %} {% block content %}
{% if success_message %} {% endif %}
{{ _('Two-Factor Authentication') }}

T{{ _('wo-factor authentication') }} ({{ _('also known as') }} 2FA, {{ _('2-step verification') }}, or {{ _('2-phase authentication') }}) {{ _('is a way of adding additional security to your account. 2FA requires you to enter an extra code when you log in or perform some account-sensitive action. The code is generated from an application on your computer or mobile phone.') }}

{{ _('To enable 2FA for your account you will need an application that manages 2FA codes, such as') }}{{ _('Google Authenticator') }}. {{ _('You can install it here:') }}

   


{% if twofa_enabled %}
{{ _('2FA is currently') }} {{ _('enabled') }} {{ _('for your account.') }}
{% else %}
{{ _('2FA is currently') }} {{ _('disabled') }} {{ _('for your account.') }}
{% endif %}
{% if otp_secret %}
{{ _('QR code') }}

{{ _('Display OTP code') }}
{{ _('After configuring the OTP code in the 2FA application, kindly confirm by clicking the button below to permanently delete the OTP secret.') }}
{% endif %}
{% endblock %}