01-18-2019, 01:37 PM
I'm sorry. It's in 4.4 but idk what happened to the setting in 4.3.
The easiest thing to do is to add a line to usersc/scripts/custom_login_script.php and just put Redirect::to('index.php');
Note that you can do conditional logic like
if(hasPerm([2],$user->data()->id)){ //admin
Redirect::to('admin.php);
}else{
Redirect::to('index.php');
}
The easiest thing to do is to add a line to usersc/scripts/custom_login_script.php and just put Redirect::to('index.php');
Note that you can do conditional logic like
if(hasPerm([2],$user->data()->id)){ //admin
Redirect::to('admin.php);
}else{
Redirect::to('index.php');
}