{# Override `vendor/scheb/two-factor-bundle/Resources/views/Authentication/form.html.twig` #} {% extends "FOSUserBundle::layout.html.twig" %} {% block fos_user_content %}
{% for flash_message in app.session.flashbag.get("two_factor") %}

{{ flash_message|trans }}

{% endfor %} {# Authentication errors #} {% if authenticationError %}

{{ authenticationError|trans(authenticationErrorData, 'SchebTwoFactorBundle') }}

{% endif %}
{% if displayTrustedOption %}
{% endif %}
{{ 'security.login.cancel'|trans }}
{% endblock %}