{% extends 'security/unlock.html.twig' %} {% block login_box_msg %}{{ 'profile.2fa'|trans({'%provider%': twoFactorProvider }) }}{% endblock %} {% block unlock_title %}{{ 'login.2fa_intro'|trans }}{% endblock %} {% block unlock_form %} {# Let the user select the authentication method #} {% if availableTwoFactorProviders|length > 1 %}

{{ "choose_provider"|trans({}, 'SchebTwoFactorBundle') }}: {% for provider in availableTwoFactorProviders %} {{ provider }} {% endfor %}

{% endif %}
{% if authenticationError %}
{{ authenticationError|trans(authenticationErrorData, 'SchebTwoFactorBundle') }}
{% endif %}
{# https://www.twilio.com/blog/html-attributes-two-factor-authentication-autocomplete If your 2fa methods are using numeric codes only, add these attributes for better user experience: inputmode="numeric" pattern="[0-9]*" #}
{% if displayTrustedOption %}

{% endif %}
{{ 'or'|trans({}, 'TablerBundle') }}
{# The logout link gives the user a way out if they can't complete two-factor authentication #} {{ 'cancel'|trans }}
{% endblock %}