Skip to content

Commit 4bfe58b

Browse files
author
Kristan Kenney
committed
Set correct landing page depending on admin/standard user
1 parent 6102673 commit 4bfe58b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/login/index.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@
128128
unset($_SESSION['request_uri']);
129129
exit;
130130
} else {
131-
header("Location: /list/web/");
131+
if ($v_user == 'admin') {
132+
header("Location: /list/user/");
133+
} else {
134+
header("Location: /list/web/");
135+
}
132136
exit;
133137
}
134138
}

0 commit comments

Comments
 (0)