fix(turnero): bacterióloga sin token va al dashboard, no a lugar_id=1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8472c916b0
commit
7b599b28ef
@@ -105,7 +105,7 @@ if ($_POST && !$loginBlocked) {
|
||||
header('Location: enfermero_portal.php');
|
||||
} elseif (in_array('turnero', $modules, true)) {
|
||||
if ($roleSlug === 'bacteriologo') {
|
||||
header('Location: erp.php?m=turnero&v=lugar&lugar_id=1');
|
||||
header('Location: erp.php?m=turnero&v=dashboard');
|
||||
} elseif (in_array($roleSlug, ['superadmin', 'admin', 'supervisor'], true)) {
|
||||
header('Location: erp.php?m=turnero&v=dashboard');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user