Skip to content

Commit c26ec2b

Browse files
[symfony/framework-bundle] Remove "csrf_protection" line as its enabled by default (#1336)
1 parent 3a98003 commit c26ec2b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

symfony/framework-bundle/6.4/config/packages/framework.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# see https://symfony.com/doc/current/reference/configuration/framework.html
22
framework:
33
secret: '%env(APP_SECRET)%'
4-
#csrf_protection: true
54
annotations: false
65
http_method_override: false
76
handle_all_throwables: true

symfony/framework-bundle/7.2/config/packages/framework.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# see https://symfony.com/doc/current/reference/configuration/framework.html
22
framework:
33
secret: '%env(APP_SECRET)%'
4-
#csrf_protection: true
54

65
# Note that the session will be started ONLY if you read or write from it.
76
session: true

0 commit comments

Comments
 (0)