Skip to content

Commit

Permalink
fix: missing route when logging in
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Aug 2, 2024
1 parent b1b028b commit 0ec7800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected function verifyLogin(Request $request)
// Login the user and don't remember the session forever
auth()->login($account, false);

return redirect()->intended(route('dashboard'))->withSuccess('Login Successful');
return redirect()->intended(route('home'))->withSuccess('Login Successful');
}

/**
Expand Down

0 comments on commit 0ec7800

Please sign in to comment.