Skip to content

Confirmation cannot be intercepted through events #552

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

Closed
ddeboer opened this issue Feb 26, 2012 · 3 comments
Closed

Confirmation cannot be intercepted through events #552

ddeboer opened this issue Feb 26, 2012 · 3 comments
Milestone

Comments

@ddeboer
Copy link
Member

ddeboer commented Feb 26, 2012

After a user clicks the registration link in the confirmation e-mail, he lands at /registration/confirmed. The user now is granted IS_AUTHENTICATED_FULLY automatically, and is considered logged in. However, none of Symfony2's security or authentication events that are thrown upon a regular login have now dispatched: in particular security.authentication.success and security.interactive_login. This means that there's no room for any custom login or authentication listeners to do their work.

Should the ‘magic’ login after registration confirmation throw any of these events? Or is there another way for me to hook into the process?

@Maks3w
Copy link

Maks3w commented Mar 23, 2012

This is the same issue described in #530

@stof
Copy link
Member

stof commented Dec 27, 2012

Since #867, the implicit login triggers the FOS\UserBundle\FOSUserEvents::SECURITY_IMPLICIT_LOGIN event

@stof stof closed this as completed Dec 27, 2012
@Maxwell2022
Copy link

Do we know when the events are going to be release in a stable versions? for now I'm using 1.3.2 but they are only in the master branch.

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

No branches or pull requests

4 participants