fix(login): bacteriologo redirige a lugar en vez de recepcion al iniciar sesion
This commit is contained in:
@@ -89,7 +89,11 @@ if ($_POST && !$loginBlocked) {
|
|||||||
if ($roleSlug === 'enfermero') {
|
if ($roleSlug === 'enfermero') {
|
||||||
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') {
|
||||||
|
header('Location: erp.php?m=turnero');
|
||||||
|
} else {
|
||||||
header('Location: erp.php?m=turnero&v=recepcion');
|
header('Location: erp.php?m=turnero&v=recepcion');
|
||||||
|
}
|
||||||
} elseif (in_array('lab_dashboard', $modules, true)) {
|
} elseif (in_array('lab_dashboard', $modules, true)) {
|
||||||
header('Location: lab_dashboard.php');
|
header('Location: lab_dashboard.php');
|
||||||
} elseif (in_array('lab_formularios', $modules, true)) {
|
} elseif (in_array('lab_formularios', $modules, true)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user