User Login redirect based on user or admin
Is it possible to setup the login page to redirect to either of 2 different pages "User Control panel "OR "Admin Control Panel" based on filters like:
$Authenticate->addFilter("UserType", "=", "i", "user");
$SuccessRedirect = "user-control-panel.php";
$Authenticate->addFilter("UserType", "=", "i", "admin");
$SuccessRedirect = "admin-control-panel.php";
Or do you have to create 2 separate login pages?