You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to override the default FOS\UserBundle\Controller\RegistrationController for disabling automatic connection after registration. So I created my RegistrationController in my bundle, just like how FOSUserBundle documentation recommends.
But because of the following lines in PUGX's services.yml:
my overridden RegistrationController is not taken in count. Do you know if it is possible to override PUGX's services.yml file, in order to do something like:
in DependencyInjection/Configuration.php
...
$rootNode->
children()
->scalarNode('registration_controller')
->defaultValue('FOS\UserBundle\Controller\RegistrationController')
->end();
in DependencyInjection/PUGXMultiUserExtension.php
...
if (!isset($config['registration_controller'])) {
throw new \InvalidArgumentException(
'The "registration_controller" option must be set'
);
}
Hello everyone,
I need to override the default FOS\UserBundle\Controller\RegistrationController for disabling automatic connection after registration. So I created my RegistrationController in my bundle, just like how FOSUserBundle documentation recommends.
But because of the following lines in PUGX's services.yml:
my overridden RegistrationController is not taken in count. Do you know if it is possible to override PUGX's services.yml file, in order to do something like:
Regards,
The text was updated successfully, but these errors were encountered: