init symfony repo to modify a place without account
This commit is contained in:
commit
49ba369919
47 changed files with 11002 additions and 0 deletions
11
config/packages/csrf.yaml
Normal file
11
config/packages/csrf.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Enable stateless CSRF protection for forms and logins/logouts
|
||||
framework:
|
||||
form:
|
||||
csrf_protection:
|
||||
token_id: submit
|
||||
|
||||
csrf_protection:
|
||||
stateless_token_ids:
|
||||
- submit
|
||||
- authenticate
|
||||
- logout
|
||||
Loading…
Add table
Add a link
Reference in a new issue