{% extends "dashboard/admin/admin-base.html.twig" %} {% block page %}

{{ esc_html__('Admin Configuration', '2fas') }}

{{ esc_html__('Select which roles need to obligatorily use 2FA to log in:', '2fas') }}

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

{{ esc_html__('Users with the selected roles will not be able to log in without 2FA.', '2fas') }}

{% for role in roles %}
{% endfor %}

{{ esc_html__('Trusted devices', '2fas') }}

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

{{ esc_html__('Allow remembering trusted devices.', '2fas') }}

{{ esc_html__('Enable logging for troubleshooting:', '2fas') }}

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

{{ esc_html__('For diagnostic purposes, 2FAS contains an option that turns on logging for certain features. These logs can be helpful for support staff who is troubleshooting problems.', '2fas') }}

{% endblock %}