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 80b38fb commit 857b257Copy full SHA for 857b257
web/inc/main.php
@@ -101,9 +101,10 @@ function destroy_sessions() {
101
$_SESSION["token"] = $token;
102
}
103
$username = $_SESSION["user"];
104
- if (isset($_SESSION["look"])) {
+ if ($_SESSION["look"] != "") {
105
$username = $_SESSION["look"];
106
107
+
108
exec(HESTIA_CMD . "v-list-user " . quoteshellarg($username) . " json", $output, $return_var);
109
$data = json_decode(implode("", $output), true);
110
unset($output, $return_var);
0 commit comments