-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.status: waiting feedback
Milestone
Description
Describe the bug
Wanted to use Symfony 7.2 with newest Easy Admin Bundle.
There is an issue with CSRF, or I just improperly set it up, csrf-token input field value is equal to csrf-token, does not get replaced with autogenerated value.
Funny thing is that, locally everything works just fine, prod environment is broken.
To Reproduce
- New project of symfony 7.2 and easy admin bundle
- Configure framework csrf protection
# ~/config/packages/csrf.yaml
# Enable stateless CSRF protection for forms and logins/logouts (login is enabled in security.yaml file.)
framework:
form:
csrf_protection:
enabled: true
token_id: submit
csrf_protection:
stateless_token_ids:
- submit
(OPTIONAL) Additional context
Could not add, sorry.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.status: waiting feedback