{% extends "dashboard/base.html.twig" %} {% block class %}twofas-user{% endblock %} {% block page %}
1

First Factor

Your login & password

2

Second Factor

Additional layer of security

{% if is_2fa_enabled %} {% set button_class = 'enabled' %} {% if is_2fa_enabled_in_legacy_mode %} {% set action = constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_DISABLE_SMS') %} {% else %} {% set action = constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_DISABLE_TOTP') %} {% endif %} {% else %} {% set button_class = 'disabled' %} {% set action = constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_ENABLE_TOTP') %} {% endif %}
{{ url.create_form_nonce(action) | raw }}

2FAS Tokens

{% if is_2fa_enabled and is_totp_enabled %} {% else %} {% endif %}

Backup codes

{% if (is_2fa_enabled and is_sms_enabled and is_plan_premium) or (is_2fa_enabled and are_offline_codes_enabled and offline_codes_count > 0) %} {% else %} {% endif %}

Trusted devices

{% if is_2fa_enabled and trusted_device_count > 0 %} {% else %} {% endif %}
3

Admin Panel

Area that you want to secure

{% block tab %}{% endblock %} {% include 'modals/error-modal.html.twig' %} {% include 'modals/confirmation/disable-totp-modal.html.twig' %} {% endblock %}