Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[SecurityBundle] Fix UserCheckerListener registration with custom user checker #37366

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

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jun 20, 2020

Q A
Branch? 5.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #37365
License MIT
Doc PR -

The user checker listener was wrongly registered on the global event dispatcher, as it can be customized per firewall. This PR fixes that + correctly uses the configured user checker instead of always trying to use UserCheckerInterface.

@wouterj wouterj force-pushed the issue-37365/custom-user-checker branch from 72a192c to d63f590 Compare June 20, 2020 12:45
@chalasr
Copy link
Member

chalasr commented Jun 20, 2020

Thanks for fixing this bug so quickly Wouter!

@chalasr chalasr merged commit 269a7a8 into symfony:5.1 Jun 20, 2020
@fabpot fabpot mentioned this pull request Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants