Skip to content

Commit

Permalink
[symfony/framework-bundle] Remove "csrf_protection" line as its enabl…
Browse files Browse the repository at this point in the history
…ed by default (#1336)
  • Loading branch information
nicolas-grekas authored Sep 2, 2024
1 parent 3a98003 commit c26ec2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c26ec2b

Please sign in to comment.