mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"manifests": {
|
|
"symfony/form": {
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/csrf.yaml": {
|
|
"contents": [
|
|
"# Enable stateless CSRF protection for forms and logins/logouts",
|
|
"framework:",
|
|
" form:",
|
|
" csrf_protection:",
|
|
" token_id: submit",
|
|
"",
|
|
" csrf_protection:",
|
|
" stateless_token_ids:",
|
|
" - submit",
|
|
" - authenticate",
|
|
" - logout",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
|
|
}
|
|
}
|
|
}
|