Skip to content

Commit

Permalink
Eanble CSRF protection on forms
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Sep 13, 2024
1 parent b56e53c commit 7e5d833
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ framework:
'x-forwarded-prefix',
]

form:
csrf_protection:
enabled: true

# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
Expand Down

0 comments on commit 7e5d833

Please sign in to comment.