FOSUserBundle
FOSUserBundle copied to clipboard
EmailConfirmationListener sends email even if flush fails
EmailConfirmationListener listens to REGISTRATION_SUCCESS event. I think it's wrong because this event is dispatched before the user is saved in the DB. Isn't it better to listen to REGISTRATION_COMPLETED event instead?