FOSUserBundle
FOSUserBundle copied to clipboard
REGISTRATION_COMPLETED event when registering via FOSFacebookBundle
Hi,
shouldn't the REGISTRATION_COMPLETED event fire, when I register via FOSFacebookBundle when FOSUserBundle handles the user data?
Which event can I subscribe to as an alternative?
Thanks, Raphi
This bundle does not provide any logic for FOSFacebookBundle. The logic is probably in your own code.
Thanks! in FOSUserBundle one can use a custom user provider and therein in the loadUserByUsername method add the logic at the following position if (!empty($fbdata)) { if (empty($user)) { //... //add logic here } }