mirror of
https://github.com/myvesta/vesta
synced 2025-07-15 09:33:24 -07:00
show user stats in loginas view
This commit is contained in:
parent
917b6e2c3f
commit
b6caad717f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
|||
top_panel($user,$TAB);
|
||||
|
||||
// Data
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
if ($user == 'admin') {
|
||||
|
||||
if (empty($_GET['user'])) {
|
||||
exec (VESTA_CMD."v-list-users-stats json", $output, $return_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue