We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
framework.csrf_protection.check_header
1 parent 87f1e0b commit 58a3678Copy full SHA for 58a3678
symfony/ux-turbo/2.20/config/packages/ux_turbo.yaml
@@ -0,0 +1,4 @@
1
+# Enable stateless CSRF protection for forms and logins/logouts
2
+framework:
3
+ csrf_protection:
4
+ check_header: true
symfony/ux-turbo/2.20/manifest.json
@@ -2,17 +2,12 @@
"bundles": {
"Symfony\\UX\\Turbo\\TurboBundle": ["all"]
},
5
+ "copy-from-recipe": {
6
+ "config/": "%CONFIG_DIR%/"
7
+ },
8
"aliases": ["turbo"],
9
"conflict": {
10
"symfony/framework-bundle": "<7.2",
11
"symfony/security-csrf": "<7.2"
- },
- "add-lines": [
- {
12
- "file": "config/packages/csrf.yaml",
13
- "position": "after_target",
14
- "target": " csrf_protection:",
15
- "content": " check_header: true"
16
- }
17
- ]
+ }
18
}
0 commit comments