]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ForgotPasswordController.php
Entity Repo & Controller Refactor (#1690)
[bookstack] / app / Http / Controllers / Auth / ForgotPasswordController.php
index d1fbddc509593e347e8a5b789d2792c2d2abd071..a3c0433a56f9e4af9d574ae0446edac02dbd5c1f 100644 (file)
@@ -53,7 +53,7 @@ class ForgotPasswordController extends Controller
 
         if ($response === Password::RESET_LINK_SENT) {
             $message = trans('auth.reset_password_sent_success', ['email' => $request->get('email')]);
-            session()->flash('success', $message);
+            $this->showSuccessNotification($message);
             return back()->with('status', trans($response));
         }
 
@@ -64,5 +64,4 @@ class ForgotPasswordController extends Controller
             ['email' => trans($response)]
         );
     }
-
-}
\ No newline at end of file
+}