Skip to content

Commit 8e40159

Browse files
committed
Prevent user enumeration on password reset
1 parent f4427a3 commit 8e40159

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Controller/Web/AccountEventWebController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public function forgotPassword(
7373
try {
7474
$this->accountEventService->sendResetPasswordEmail($email);
7575
} catch (UserResourceNotFoundException) {
76-
return $this->redirectToRoute('web_home_homepage');
7776
}
7877

7978
$this->addFlash('success', $this->translator->trans('view.authentication.forgot.link_sent_to_email'));

0 commit comments

Comments
 (0)