From c26ec2b27d7f004aac6c75b5c2023de56d1a0cfb Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 2 Sep 2024 11:01:57 +0200 Subject: [PATCH] [symfony/framework-bundle] Remove "csrf_protection" line as its enabled by default (#1336) --- symfony/framework-bundle/6.4/config/packages/framework.yaml | 1 - symfony/framework-bundle/7.2/config/packages/framework.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/symfony/framework-bundle/6.4/config/packages/framework.yaml b/symfony/framework-bundle/6.4/config/packages/framework.yaml index 980ee45c9..28095da42 100644 --- a/symfony/framework-bundle/6.4/config/packages/framework.yaml +++ b/symfony/framework-bundle/6.4/config/packages/framework.yaml @@ -1,7 +1,6 @@ # see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' - #csrf_protection: true annotations: false http_method_override: false handle_all_throwables: true diff --git a/symfony/framework-bundle/7.2/config/packages/framework.yaml b/symfony/framework-bundle/7.2/config/packages/framework.yaml index 877eb25d1..7e1ee1f1e 100644 --- a/symfony/framework-bundle/7.2/config/packages/framework.yaml +++ b/symfony/framework-bundle/7.2/config/packages/framework.yaml @@ -1,7 +1,6 @@ # see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' - #csrf_protection: true # Note that the session will be started ONLY if you read or write from it. session: true