FriendsOfSymfony/FOSUserBundle — Issue #552: Confirmation cannot be intercepted through events
Author: ddeboer
Created: 2012-02-26 12:05:24+00:00
State: open

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 are 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?