Remove middleware from password reset

It's not necessary for the user to be logged out when resetting their password. This allows users to reset their password while logged in. Can be used in combination with the new RequiresPassword middleware.
This commit is contained in:
Dries Vints
2019-10-08 13:39:57 +02:00
parent 050c1d880e
commit 4036f17416
2 changed files with 0 additions and 20 deletions

View File

@@ -19,14 +19,4 @@ class ForgotPasswordController extends Controller
*/ */
use SendsPasswordResetEmails; use SendsPasswordResetEmails;
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
} }

View File

@@ -26,14 +26,4 @@ class ResetPasswordController extends Controller
* @var string * @var string
*/ */
protected $redirectTo = '/home'; protected $redirectTo = '/home';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
} }