Ispravka: CSRF polje mora biti _csrf, ne csrf_token (dugmad tiho vraćala 403)

This commit is contained in:
2026-07-01 11:36:43 +02:00
parent e7dcaf4433
commit b5f2742aa9
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -237,7 +237,7 @@
<!-- forma -->
<form method="POST" action="/izvestaji/popis">
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
<input type="hidden" name="_csrf" value="{{.CsrfToken}}">
<div class="kartica animiraj" style="padding:0;overflow:hidden;">
<div style="padding:12px 20px;border-bottom:0.5px solid var(--ivica);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;" class="popis-forma-zaglavlje">