mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/ux-turbo": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\UX\\Turbo\\TurboBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.2",
|
||||
"symfony/security-csrf": "<7.2"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/ux_turbo.yaml": {
|
||||
"contents": [
|
||||
"# Enable stateless CSRF protection for forms and logins/logouts",
|
||||
"framework:",
|
||||
" csrf_protection:",
|
||||
" check_header: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "287f7c6eb6e9b65e422d34c00795b360a787380b"
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
-11
@@ -7,21 +7,27 @@
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.2",
|
||||
"symfony/security-csrf": "<7.2"
|
||||
},
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "config/packages/csrf.yaml",
|
||||
"position": "after_target",
|
||||
"target": " csrf_protection:",
|
||||
"content": " check_header: true"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "679d4172701a5a5fe5093bd1fd93dca108204401"
|
||||
"files": {
|
||||
"config/packages/ux_turbo.yaml": {
|
||||
"contents": [
|
||||
"# Enable stateless CSRF protection for forms and logins/logouts",
|
||||
"framework:",
|
||||
" csrf_protection:",
|
||||
" check_header: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "287f7c6eb6e9b65e422d34c00795b360a787380b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user