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

{{ flashMessage|trans }}

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

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

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