-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security][SecurityBundle] Use csrf_token_id instead of deprecated intention #16722
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
Changes from 1 commit
a4823b7
ae4d588
ac35350
50856ca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
…ntion
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,7 +299,7 @@ private function createFirewall(ContainerBuilder $container, $id, $firewall, &$a | |
$listener = $container->setDefinition($listenerId, new DefinitionDecorator('security.logout_listener')); | ||
$listener->replaceArgument(3, array( | ||
'csrf_parameter' => $firewall['logout']['csrf_parameter'], | ||
'intention' => $firewall['logout']['csrf_token_id'], | ||
'csrf_token_id' => $firewall['logout']['csrf_token_id'], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is wrong as the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm making changes to the security component just now :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
'logout_path' => $firewall['logout']['path'], | ||
)); | ||
$listeners[] = new Reference($listenerId); | ||
|
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.
Is this change also documented in the upgrade file?
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.
Now it is ;)