@@ -0,0 +1,11 @@
+# Enable stateless CSRF protection for forms and logins/logouts
+framework:
+ form:
+ csrf_protection:
+ token_id: submit
+
+ stateless_token_ids:
+ - submit
+ - authenticate
+ - logout
@@ -300,7 +300,16 @@
]
},
"symfony/form": {
- "version": "v4.2.8"
+ "version": "7.4",
+ "recipe": {
+ "repo": "github.com/symfony/recipes",
+ "branch": "main",
+ "version": "7.2",
+ "ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
+ },
+ "files": [
+ "config/packages/csrf.yaml"
+ ]
"symfony/framework-bundle": {
"version": "7.4",