{# Based on the default Scheb/2fa one #} {# 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 }} {% endfor %}

{% endif %} {# Display current two-factor provider #}

{% if not app.request.secure %} Warning: Webauthn authentication is only supported via a secure context (HTTPS connection)! {% endif %}

{% if displayTrustedOption %}

{% endif %} {% if isCsrfProtectionEnabled %} {% endif %}

{# The logout link gives the user a way out if they can't complete two-factor authentication #}

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