mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-25 09:10:42 +01:00
add role vip redirect to studio after login
This commit is contained in:
parent
3a16773f5d
commit
d9febf0fd0
@ -36,7 +36,7 @@ class AuthenticatedSessionController extends Controller
|
||||
//Redirect admin and users to their panels
|
||||
$role = Auth::user()->role;
|
||||
|
||||
if($role == 'user'){
|
||||
if($role == 'user' || $role == 'vip'){
|
||||
return redirect('/studio/index');
|
||||
}elseif($role == 'admin'){
|
||||
return redirect('/panel/index');
|
||||
|
Loading…
Reference in New Issue
Block a user