]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ResetPasswordController.php
Refactored notification showing and global view data
[bookstack] / app / Http / Controllers / Auth / ResetPasswordController.php
index d7005b73954d9759195121e79353384a4d3c070e..540d2e679c1ef81dab9aeafed297d352a81298d3 100644 (file)
@@ -44,7 +44,7 @@ class ResetPasswordController extends Controller
     protected function sendResetResponse(Request $request, $response)
     {
         $message = trans('auth.reset_password_success');
-        session()->flash('success', $message);
+        $this->showSuccessNotification( $message);
         return redirect($this->redirectPath())
             ->with('status', trans($response));
     }