Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/admin/login/two_factor_authentication.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% endif %}

<form method="post" action="{{ path('pimcore_admin_2fa_verify') }}">
<input name="_auth_code" id="_auth_code" autocomplete="one-time-code" type="password" placeholder="{{ '2fa_code'|trans([],'admin') }}" required autofocus>
<input name="_auth_code" id="_auth_code" autocomplete="one-time-code" type="text" inputmode="numeric" placeholder="{{ '2fa_code'|trans([],'admin') }}" required autofocus>
Comment thread
jdreesen marked this conversation as resolved.
<input type="hidden" name="csrfToken" value="{{ pimcore_csrf.getCsrfToken(app.request.session) }}">

<button type="submit">{{ 'Login'|trans([],'admin') }}</button>
Expand Down
2 changes: 1 addition & 1 deletion templates/admin/login/two_factor_setup.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</div>

<form method="post" action="{{ path('pimcore_admin_2fa_setup') }}">
<input name="_auth_code" id="_auth_code" autocomplete="one-time-code" type="password" placeholder="{{ '2fa_code'|trans([],'admin') }}" required autofocus>
<input name="_auth_code" id="_auth_code" autocomplete="one-time-code" type="text" inputmode="numeric" placeholder="{{ '2fa_code'|trans([],'admin') }}" required autofocus>
<input type="hidden" name="csrfToken" value="{{ pimcore_csrf.getCsrfToken(app.request.session) }}">

<button type="submit">{{ 'Login'|trans([],'admin') }}</button>
Expand Down
Loading