Skip to content

Commit

Permalink
on reset password to route
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bohollo Sáez committed Feb 3, 2020
1 parent e3e3cf5 commit 773db7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Http/Controllers/Auth/ResetPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/config/mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 773db7a

Please sign in to comment.