{% extends "dashboard/user/user-base.html.twig" %} {% block tab %}
    {% if is_sms_configured %} {% if is_sms_enabled %}
  • {{ create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Action_Index::ACTION_DISABLE_SMS')) | raw }}
  • {% else %}
  • {{ create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Action_Index::ACTION_ENABLE_SMS')) | raw }}
  • {{ create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Action_Index::ACTION_REMOVE_SMS_CONFIGURATION')) | raw }}
  • {% endif %} {% endif %}
  • {{ esc_html__('Learn more', '2fas')|upper }}

{{ esc_html__("Text Message (SMS) and Voice Call backup will allow you to authenticate to your WordPress account when you can't use tokens generated by 2FAS Authenticator.", '2fas')|raw }}

{{ esc_html__('Backup codes - SMS/VMS are already configured.', '2fas') }}

{{ esc_html__('Phone number', '2fas') }}: {{ phone_number }}

{{ esc_html__('If you want to change phone number, click button below.', '2fas' ) }}

{{ esc_html__('Configure Backup codes - SMS/VMS' ,'2fas') }}

{{ esc_html__('Step 1', '2fas') }}

{{ esc_html__('Add phone number', '2fas') }}

{{ esc_html__('Enter your phone number.', '2fas') }}

{{ create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Action_Index::ACTION_REQUEST_AUTH_VIA_SMS')) | raw }}

{{ esc_html__('Step 2', '2fas') }}

{{ esc_html__('Enter token', '2fas') }}

{{ esc_html__('Select backup services and enter the 6-digit token you received in the SMS.', '2fas') }}

{{ create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Action_Index::ACTION_CONFIGURE_SMS')) | raw }} {% if not authentication_id and not configuration_phone_number %} {% set disabledProperty = 'disabled = disabled' %} {% else %} {% set disabledProperty = '' %} {% endif %}
{% include 'modals/confirmation/deletion-confirmation-modal.html.twig' %} {% include 'modals/confirmation/disable-phone-modal.html.twig' %} {% endblock %}