FriendsOfSymfony/FOSUserBundle — Issue #447: Registration handler change fos_user.registration.confirmation.enabled decision
Author: gimler
Created: 2011-12-16 09:07:21+00:00
State: open

In my form registration handler i must, in some special case (when the user has a OAuthToken so the email is allready validated), change the `fos_user.registration.confirmation.enabled` value. In my `process` function i call the `onSuccess($user, false)` no problem, but in the Registration controller code i can't access the `$confirmationEnabled` variable so it redirect to fos_user_registration_check_email instate of fos_user_registration_confirmed.

Is there a better way without extends the controller and copy the registerAction code?