Skip to content

Commit bd84301

Browse files
BA-JBIVincentLanglet
authored andcommitted
Dont pass username to CheckEmailAction.php
Remove passing username as get Parameter to sonata_user_admin_resetting_check_email as discussed in #1692 (comment)
1 parent c17f6a4 commit bd84301

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Action/RequestAction.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ public function __invoke(Request $request): Response
6666
$this->userManager->save($user);
6767
}
6868

69-
return new RedirectResponse($this->urlGenerator->generate('sonata_user_admin_resetting_check_email', [
70-
'username' => $username,
71-
]));
69+
return new RedirectResponse($this->urlGenerator->generate('sonata_user_admin_resetting_check_email'));
7270
}
7371

7472
return new Response($this->twig->render('@SonataUser/Admin/Security/Resetting/request.html.twig', [

0 commit comments

Comments
 (0)