mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -54,6 +54,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [symfony/fake-sms-notifier](https://packagist.org/packages/symfony/fake-sms-notifier) | [5.3](symfony/fake-sms-notifier/5.3) | `fake-sms-notifier`, `fakesmsnotifier` |
|
||||
| [symfony/firebase-notifier](https://packagist.org/packages/symfony/firebase-notifier) | [5.1](symfony/firebase-notifier/5.1) | `firebase-notifier`, `firebasenotifier` |
|
||||
| [symfony/flex](https://packagist.org/packages/symfony/flex) | [1.0](symfony/flex/1.0) | `flex` |
|
||||
| [symfony/form](https://packagist.org/packages/symfony/form) | [7.2](symfony/form/7.2) | `form` |
|
||||
| [symfony/forty-six-elks-notifier](https://packagist.org/packages/symfony/forty-six-elks-notifier) | [6.1](symfony/forty-six-elks-notifier/6.1) | `forty-six-elks-notifier`, `fortysixelksnotifier` |
|
||||
| [symfony/framework-bundle](https://packagist.org/packages/symfony/framework-bundle) | [7.2](symfony/framework-bundle/7.2) | `framework-bundle`, `frameworkbundle` |
|
||||
| [symfony/free-mobile-notifier](https://packagist.org/packages/symfony/free-mobile-notifier) | [5.1](symfony/free-mobile-notifier/5.1) | `free-mobile-notifier`, `freemobilenotifier` |
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -702,6 +702,9 @@
|
||||
"symfony/flex": [
|
||||
"1.0"
|
||||
],
|
||||
"symfony/form": [
|
||||
"7.2"
|
||||
],
|
||||
"symfony/forty-six-elks-notifier": [
|
||||
"6.1"
|
||||
],
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,11 +81,6 @@
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
" # Enable stateless CSRF protection for forms and logins/logouts",
|
||||
" form: { csrf_protection: { token_id: submit } }",
|
||||
" csrf_protection:",
|
||||
" stateless_token_ids: [submit, authenticate, logout]",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
@@ -185,7 +180,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "eac198b53dabc891aa5c2d93e35d86e4c217a40b"
|
||||
"ref": "87bcf6f7c55201f345d8895deda46d2adbdbaa89"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user