{# Display current two-factor provider #}

{{ twoFactorProvider.methodTranslation|trans }}

{# Authentication errors #} {% if authenticationError %}
{{ authenticationError|trans(authenticationErrorData, 'SchebTwoFactorBundle') }}
{% endif %} {# Let the user select the authentication method #} {% if availableTwoFactorProviders|length > 1 %}

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

{% endif %} {{ form(form) }}

{{ "cancel"|trans({}, 'SchebTwoFactorBundle') }}