blob: 8df8a4ec7511158d3f7f1e6e005e904b1256f506 [file] [log] [blame]
<?php
require '../credentials.php';
require '../php/utils.php';
$users = get_users(0, false);
$users_alive = [];
foreach ($users as &$user) {
if ($user["mort"]) continue;
$user["nopassword"] = ($user["md5password"] == "" ? "nopassword" : "");
unset($user["md5password"]);
unset($user["quimata"]);
array_push($users_alive, $user);
}
echo json_encode($users_alive);
?>