temporarily change the redirect url for admin user

This commit is contained in:
omair saleh
2020-08-12 05:28:45 +08:00
parent be8fefe659
commit 2c245f30f1
@@ -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]);
}