We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2d11e3 + 5b2a199 commit 31809e0Copy full SHA for 31809e0
Controller/RegistrationController.php
@@ -140,7 +140,7 @@ public function checkEmailAction(Request $request)
140
$user = $this->userManager->findUserByEmail($email);
141
142
if (null === $user) {
143
- throw new NotFoundHttpException(sprintf('The user with email "%s" does not exist', $email));
+ return new RedirectResponse($this->container->get('router')->generate('fos_user_security_login'));
144
}
145
146
return $this->render('@FOSUser/Registration/check_email.html.twig', array(
0 commit comments