From 8dadf0ba7a9606d5e19239fb8ca91c9720c7025f Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Mon, 27 Jul 2026 07:08:15 -0500 Subject: [PATCH] fix(login): bacteriologo redirige a lugar en vez de recepcion al iniciar sesion --- login.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/login.php b/login.php index ff24d9c..bee464b 100644 --- a/login.php +++ b/login.php @@ -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)) {