{% extends "dashboard/user/user-base.html.twig" %} {% block tab %}
    {% if is_totp_configured %} {% if is_totp_enabled %}
  • {{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_DISABLE_TOTP')) | raw }}
  • {% else %}
  • {{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_ENABLE_TOTP')) | raw }}
  • {{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_REMOVE_TOTP_CONFIGURATION')) | raw }}
  • {% endif %} {% endif %}
  • LEARN MORE

To correctly configure the plugin and log in by means of two-factor authentication, download 2FAS Authenticator app or another application that generates TOTP tokens (e.g. Google Authenticator), and follow the steps below. Remember that 2FAS Authenticator app largely speeds up the verification process and makes it much more convenient, as it enables you to log in by one click on your mobile, without the need of retyping the code.

2FAS Tokens are already configured.

If you want to configure another app/device, click button below.

Configure 2FAS Tokens

Step 1

Get the App

Download 2FAS Authenticator app to your smartphone to start using tokens.

QR code

Step 2

Scan QR code
QR code
CLICK TO CONFIGURE WITH 2FAS APP

Please, scan the following QR code with your app.

(Instead of using the QR code you can enter your private key manually.)

{{ totp_secret }}

{% if not is_totp_configured %}
{{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_RELOAD_QR_CODE')) | raw }}
{% endif %}

Step 3

Enter token

Enter the 6-digit token generated by the app and enable TOTP protection.

{{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_CONFIGURE_TOTP')) | raw }}
{% include 'modals/qr-modal.html.twig' %} {% include 'modals/confirmation/reload-warning-modal.html.twig' %} {% include 'modals/confirmation/delete-totp-modal.html.twig' %} {% endblock %}