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 fe21f1c commit b2766e5Copy full SHA for b2766e5
web/login/index.php
@@ -14,7 +14,7 @@
14
15
// Login as someone else
16
if (isset($_SESSION['user'])) {
17
- if ($_SESSION['user'] == 'admin' && !empty($_GET['loginas'])) {
+ if ($_SESSION['user'] == 'admin' && !empty($_GET['loginas'])) {
18
exec (VESTA_CMD . "v-list-user ".escapeshellarg($_GET['loginas'])." json", $output, $return_var);
19
if ( $return_var == 0 ) {
20
$data = json_decode(implode('', $output), true);
0 commit comments