Browse Source

Add redirectTo attribute to the reset password controller

Ron Melkhior 7 years ago
parent
commit
6b73fae8d7
1 changed files with 7 additions and 0 deletions
  1. 7 0
      app/Http/Controllers/Auth/ResetPasswordController.php

+ 7 - 0
app/Http/Controllers/Auth/ResetPasswordController.php

@@ -20,6 +20,13 @@ class ResetPasswordController extends Controller
 
     use ResetsPasswords;
 
+    /**
+     * Where to redirect users after resetting their password.
+     *
+     * @var string
+     */
+    protected $redirectTo = '/home';
+
     /**
      * Create a new controller instance.
      *