mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
15 lines
No EOL
640 B
Twig
15 lines
No EOL
640 B
Twig
{% extends "security/2fa_base_form.html.twig" %}
|
|
|
|
{% block form_attributes %} data-webauthn-tfa-action="authenticate" data-webauthn-tfa-data='{{ webauthn_request_data|raw }}'{% endblock %}
|
|
|
|
{% block form %}
|
|
{% if not app.request.secure %}
|
|
<p class="text-warning"><b><i class="fas fa-exclamation-triangle fa-fw"></i> {% trans %}tfa_u2f.http_warning{% endtrans %}</b></p>
|
|
{% endif %}
|
|
|
|
<p class="widget"><input id="_auth_code" type="hidden" autocomplete="off" name="_auth_code" /></p>
|
|
<a class="ms-2" href="{{ logoutPath }}">{% trans %}user.logout{% endtrans %}</a>
|
|
{% endblock %}
|
|
|
|
{% block submit_btn %}
|
|
{% endblock %} |