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') {
|
||||
header('Location: enfermero_portal.php');
|
||||
} elseif (in_array('turnero', $modules, true)) {
|
||||
header('Location: erp.php?m=turnero&v=recepcion');
|
||||
if ($roleSlug === 'bacteriologo') {
|
||||
header('Location: erp.php?m=turnero');
|
||||
} else {
|
||||
header('Location: erp.php?m=turnero&v=recepcion');
|
||||
}
|
||||
} elseif (in_array('lab_dashboard', $modules, true)) {
|
||||
header('Location: lab_dashboard.php');
|
||||
} elseif (in_array('lab_formularios', $modules, true)) {
|
||||
|
||||
Reference in New Issue
Block a user