]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ForgotPasswordController.php
Updated npm dependancies
[bookstack] / app / Http / Controllers / Auth / ForgotPasswordController.php
index 4a0a69ae430105f3ff9d3f05784485da65638cbe..a60fcc1c9a6142d450d318375a930e0fce294994 100644 (file)
@@ -30,6 +30,7 @@ class ForgotPasswordController extends Controller
     public function __construct()
     {
         $this->middleware('guest');
+        $this->middleware('guard:standard');
         parent::__construct();
     }
 
@@ -53,7 +54,7 @@ class ForgotPasswordController extends Controller
 
         if ($response === Password::RESET_LINK_SENT) {
             $message = trans('auth.reset_password_sent_success', ['email' => $request->get('email')]);
-            $this->showSuccessNotification( $message);
+            $this->showSuccessNotification($message);
             return back()->with('status', trans($response));
         }