mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
The 'Activer la restriction d'accès' checkbox in /admin/acces.php used htmx to POST to settings.php but the #fieldset-restrictions container was missing a csrf_token hidden input. This caused two bugs: 1. 'Erreur de sécurité, token invalide' error 2. Full /admin/parametres.php HTML injected into #restrictions-response (due to HTMX following the 302 redirect on CSRF failure)
40 KiB
40 KiB