-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RTM] Auto-clear the session form data #1550
Conversation
src/Resources/config/listener.yml
Outdated
| contao.listener.clear_form_data: | ||
| class: Contao\CoreBundle\EventListener\ClearFormDataListener | ||
| tags: | ||
| # The priority must be lower than the one of the Symfony save session listener (defaults to -1000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the priority must be higher than...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6847201.
|
To make it all work, do we need to start the session when form data is submitted and actually store the data? |
|
Right now the session is started automatically thanks to our |
See #1389.