fix(login): bacteriologo redirige a v=dashboard para que App.php lo intercepte correctamente
This commit is contained in:
@@ -90,7 +90,7 @@ if ($_POST && !$loginBlocked) {
|
|||||||
header('Location: enfermero_portal.php');
|
header('Location: enfermero_portal.php');
|
||||||
} elseif (in_array('turnero', $modules, true)) {
|
} elseif (in_array('turnero', $modules, true)) {
|
||||||
if ($roleSlug === 'bacteriologo') {
|
if ($roleSlug === 'bacteriologo') {
|
||||||
header('Location: erp.php?m=turnero');
|
header('Location: erp.php?m=turnero&v=dashboard');
|
||||||
} else {
|
} else {
|
||||||
header('Location: erp.php?m=turnero&v=recepcion');
|
header('Location: erp.php?m=turnero&v=recepcion');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user