From 773db7a36cfe1fa449650d8c6b2033f34cb4115d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bohollo=20S=C3=A1ez?= Date: Mon, 3 Feb 2020 22:49:09 +0100 Subject: [PATCH] on reset password to route --- src/app/Http/Controllers/Auth/ResetPasswordController.php | 2 +- src/config/mage.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/Http/Controllers/Auth/ResetPasswordController.php b/src/app/Http/Controllers/Auth/ResetPasswordController.php index ce8ce14..e79ebb5 100644 --- a/src/app/Http/Controllers/Auth/ResetPasswordController.php +++ b/src/app/Http/Controllers/Auth/ResetPasswordController.php @@ -40,7 +40,7 @@ public function showResetForm(Request $request, $token = null) public function redirectTo() { - return route(config('mage.on_login_to_route')); + return route(config('mage.on_reset_to_route')); } /** diff --git a/src/config/mage.php b/src/config/mage.php index 6120174..7169769 100644 --- a/src/config/mage.php +++ b/src/config/mage.php @@ -13,6 +13,7 @@ */ 'prefix' => 'mage', 'on_login_to_route' => 'mage.dashboard', + 'on_reset_to_route' => 'mage.dashboard', 'on_logout_to_route' => 'mage.auth.login.index', 'enable_register_route' => true,