Skip to content
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

[Fix][Shop] Conditional adding of logout listener #14625

Merged
merged 2 commits into from
Dec 15, 2022

Conversation

NoResponseMate
Copy link
Contributor

Q A
Branch? 1.12
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #14622
License MIT

@NoResponseMate NoResponseMate added Shop ShopBundle related issues and PRs. Bug Confirmed bugs or bugfixes. labels Dec 8, 2022
@NoResponseMate NoResponseMate requested a review from a team as a code owner December 8, 2022 14:39
@NoResponseMate NoResponseMate changed the base branch from 1.13 to 1.12 December 8, 2022 15:58
Copy link
Contributor

@mbabker mbabker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should make use of the firewall_context_name config node in the ShopBundle's config instead of continuing to hardcode the firewall name. This would ensure that the listener is correctly attached to whatever firewall is configured as the shop (frontend) firewall, regardless of name. Looking at the listener's functionality, I would say there are security implications if it isn't registered as expected.

@GSadee GSadee merged commit 7cd1d89 into Sylius:1.12 Dec 15, 2022
@GSadee
Copy link
Member

GSadee commented Dec 15, 2022

Thank you, Jan! 🎉

@NoResponseMate NoResponseMate deleted the fix/shop-symfony-6-coupling branch September 22, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BC Break] Sylius 1.12 is couple to existence of shop firewall
6 participants