{% if twofas_light_login_error is not null %} {{ login_header(esc_html__('Configure Two Factor Authentication', '2fas-light'), '', twofas_light_login_error) }} {% else %} {{ login_header(esc_html__('Configure Two Factor Authentication', '2fas-light'), '') }} {% endif %}

{{ esc_html__( 'Follow these instructions to configure 2FAS security tokens correctly.', '2fas-light' ) }}

2
{{ esc_html__( 'Scan the QR code', '2fas-light' ) }}
{% include 'steps/step_1.html.twig' with { 'twofas_light_plugin_path': twofas_light_plugin_path } %} {% include 'steps/step_2.html.twig' with { 'twofas_light_plugin_path': twofas_light_plugin_path, 'qr_code': qr_code } %} {% include 'steps/step_3.html.twig' with { 'totp_secret': totp_secret, 'form_nonce': '' } %}
{% include 'includes/confirmation_modal.html.twig' %} {% include 'includes/private_key_modal.html.twig' with { 'totp_secret': totp_secret } %} {% if twofas_light_login_error is null %} {% include 'includes/login_configuration_step_modal.html.twig' %} {% endif %}
{{ login_footer() }}