{% extends "dashboard/base.html.twig" %} {% block class %}twofas-user{% endblock %} {% block page %}
Your login & password
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 %}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 %}Area that you want to secure