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 authentication event propagation #92

Merged
merged 1 commit into from
Sep 28, 2015

Conversation

mRoca
Copy link
Contributor

@mRoca mRoca commented Sep 21, 2015

This PR fixes #89 .

I've removed the extends GetResponseEvent from events : this parent event is bound to the kernel (see the symfony api doc), and does not make sense here. Moreover, the GetResponseEvent::setResponse() method does a stopPropagation() and prevents the use of more than one listener.

@markitosgv
Copy link
Contributor

+1 to this fix.

@slashfan
Copy link
Contributor

Nice, thanks !

slashfan added a commit that referenced this pull request Sep 28, 2015
@slashfan slashfan merged commit c3122de into lexik:master Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stoping propagation of AUTHENTICATION_SUCCESS before dispatching it.
3 participants