Fix csrf-tokens

This commit is contained in:
2025-04-21 14:09:02 +02:00
parent 4863fad3ba
commit acd85bfc2b
6 changed files with 11 additions and 16 deletions

View File

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

View File

@@ -4,7 +4,9 @@ framework:
# Note that the session will be started ONLY if you read or write from it.
session: true
form:
csrf_protection:
enabled: true
#esi: true
#fragments: true