This commit is contained in:
2025-08-04 21:10:10 +02:00
parent 76c3c2376c
commit 659c5536fa
23 changed files with 981 additions and 564 deletions

11
config/packages/csrf.yaml Normal file
View File

@ -0,0 +1,11 @@
# Enable stateless CSRF protection for forms and logins/logouts
framework:
form:
csrf_protection:
token_id: submit
csrf_protection:
stateless_token_ids:
- submit
- authenticate
- logout