fix: prevent stale htmx cache on login potentially causing csrf issues

addresses #869dd1fch
This commit is contained in:
Björn Fromme
2026-07-10 14:30:31 +02:00
parent 2b957e1887
commit 9660149c67
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
{% include '_partials/_alert.html.twig' with { 'level': 'error', messages: [ error.messageKey|trans(error.messageData, 'security') ] } %}
{% endif %}
<div class="pb-4">
<form action="{{ path('app_login') }}" method="post">
<form action="{{ path('app_login') }}" method="post" hx-history="false">
<div class="mb-4">
<label for="username" class="mb-1 font-semibold text-white">
E-Mail: