File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ public function __invoke(
2525
2626 if ($ form ->isSubmitted () && $ form ->isValid ()) {
2727 $ bus ->dispatch ($ form ->getData ());
28+
29+ $ this ->addFlash (
30+ 'success ' ,
31+ $ translator ->trans ('Password reset link successfully sent. ' )
32+ );
33+
34+ return $ this ->redirectToRoute ('login ' );
2835 }
2936
3037 return $ this ->render ('user/forgot.html.twig ' , [
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ edit: 'Bewerk'
4343' Change password ' : ' Verander wachtwoord'
4444' Update password ' : ' Update wachtwoord'
4545' New password ' : ' Nieuw wachtwoord'
46+ ' Password reset link successfully sent. ' : ' Wachtwoord reset mail verstuurd.'
4647' Confirm password ' : ' Bevestig wachtwoord'
4748' Confirm your account ' : ' Bevestig je account'
4849Confirm : ' Bevestig'
You can’t perform that action at this time.
0 commit comments