We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c225f57 commit f74c74aCopy full SHA for f74c74a
web/list/user/index.php
@@ -5,6 +5,12 @@
5
// Main include
6
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
7
8
+// Do not show the users list if user is impersonating another user
9
+if (isset($_SESSION['look'])) {
10
+ header("Location: /login/");
11
+ exit;
12
+}
13
+
14
// Data
15
if ($_SESSION['userContext'] === 'admin') {
16
exec (HESTIA_CMD . "v-list-users json", $output, $return_var);
0 commit comments