forked from kevinowino869/mitrobill
redirect after login
This commit is contained in:
@ -4,5 +4,10 @@
|
||||
* by https://t.me/ibnux
|
||||
**/
|
||||
|
||||
|
||||
r2(APP_URL.'/index.php?_route=dashboard');
|
||||
if(Admin::getID()){
|
||||
r2(U.'dashboard');
|
||||
}if(User::getID()){
|
||||
r2(U.'home');
|
||||
}else{
|
||||
r2(U.'login');
|
||||
}
|
||||
|
Reference in New Issue
Block a user