abiball/config/packages/csrf.yaml
2025-01-23 17:43:08 +01:00

12 lines
259 B
YAML

# Enable stateless CSRF protection for forms and logins/logouts
framework:
form:
csrf_protection:
token_id: submit
csrf_protection:
stateless_token_ids:
- submit
- authenticate
- logout