Skip to content

Commit

Permalink
dashboard redirect temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Murithijoshua authored Dec 12, 2024
1 parent be202d1 commit fc29800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ protected function redirectTo() {
}
else if (Auth::user()->access_level == 'Facility') {
Session::flash('statuscode', 'Login Success!, You will be redirected to your Home page in a few.');
return '/admin/dashboard';
// return '/admin/dashboard';
return '/new/clients/list';
} else if (Auth::user()->access_level == 'Partner') {
Session::flash('statuscode', 'success');
return '/admin/dashboard';
Expand Down

0 comments on commit fc29800

Please sign in to comment.