mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-29 09:24:26 +00:00
temporarily change the redirect url for admin user
This commit is contained in:
@@ -12,7 +12,7 @@ class AuthenticationRedirect
|
||||
|
||||
$userRole = (int) Auth()->user()->role_id;
|
||||
|
||||
return $userRole === Roles::ADMIN || $userRole === Roles::SUPER_ADMIN ? route('account.dashboard') : route('company.profile', ['id' => 1]);
|
||||
return $userRole === Roles::ADMIN || $userRole === Roles::SUPER_ADMIN ? route('company.profile', ['id' => 10]) : route('company.profile', ['id' => 1]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user