Listener/RegistrationConfirmListener.php
public function onRegistrationConfirm(GetResponseUserEvent $event)
    {
        if (null === $event->getResponse()) {
            $url = $this->router->generate('fos_user_security_login');
            $event->setResponse(new RedirectResponse($url));
        }
    }
public function onRegistrationConfirm(GetResponseUserEvent $event)
    {
        if (null === $event->getResponse()) {
            $url = $this->router->generate('fos_user_security_login');
            $event->setResponse(new RedirectResponse($url));
        }
    }
public function onRegistrationConfirm ( GetResponseUserEvent $ event ) { if ( null === $ event -> getResponse ( ) ) { $ url = $ this -> router -> generate ( 'fos_user_security_login' ) ; $ event -> setResponse ( new RedirectResponse ( $ url ) ) ; } }
Sets the registration date on the user

@param  GetResponseUserEvent $event
@return void
Sets the registration date on the user