]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ForgotPasswordController.php
Removing the selected image and clearing the dropdzone on dialog close.
[bookstack] / app / Http / Controllers / Auth / ForgotPasswordController.php
index 45e40e6fe8371a5d8034ca2d5627f2ff63621acc..a0cbae9c611bffeb421e64788ebca7651ef2f65e 100644 (file)
@@ -52,7 +52,7 @@ class ForgotPasswordController extends Controller
         );
 
         if ($response === Password::RESET_LINK_SENT) {
-            $message = 'A password reset link has been sent to ' . $request->get('email') . '.';
+            $message = trans('auth.reset_password_sent_success', ['email' => $request->get('email')]);
             session()->flash('success', $message);
             return back()->with('status', trans($response));
         }
@@ -64,5 +64,4 @@ class ForgotPasswordController extends Controller
             ['email' => trans($response)]
         );
     }
-
-}
\ No newline at end of file
+}