{# WebAuthn/Passkey als zweiter Faktor – gleiches Theme wie TOTP (Storefront) #} {% extends get_theme_base_template() %} {% block base_title %}{{ 'admin.two_factor.title'|trans }}{% endblock %} {% block base_content %}

{{ 'admin.two_factor.title'|trans }}

{{ 'admin.two_factor.passkey_login_hint'|trans }}

{% if not app.request.secure and app.request.host not in ['localhost', '127.0.0.1'] %}
{{ 'admin.two_factor.passkey_https_warning'|trans }}
{% endif %} {% if authenticationError %}
{{ authenticationError|trans(authenticationErrorData, 'SchebTwoFactorBundle') }}
{% endif %} {% if availableTwoFactorProviders|length > 1 %}

{{ 'choose_provider'|trans({}, 'SchebTwoFactorBundle') }}:

{% for provider in availableTwoFactorProviders %} {{ ('admin.two_factor.provider_' ~ provider)|trans }} {% endfor %}
{% endif %}

{{ 'admin.two_factor.passkey_follow_browser'|trans }}

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

{{ 'admin.two_factor.passkey_submit_hint'|trans }}

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

{% endblock %}