commit | 2457e40b69504575367718a0c2e85aee5439db0f | [log] [tgz] |
---|---|---|
author | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 00:52:41 2019 +0200 |
committer | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 00:52:41 2019 +0200 |
tree | 8d0290fbba5e40093b930b0139f6c04f1f2a737d | |
parent | 96f1bcd8f3a2d3f2d1c1a8e6c92909d1232555d6 [diff] [blame] |
Added hidden credentials
diff --git a/ajax/getusers.php b/ajax/getusers.php index 4973cf7..2f36f84 100644 --- a/ajax/getusers.php +++ b/ajax/getusers.php
@@ -1,9 +1,10 @@ <option>Selecciona usuari...</option> <?php + require '../credentials.php'; require '../php/utils.php'; - $users = get_users(0); + foreach ($users as $user) { $nopassword = $user->md5password == "" ? "nopassword" : ""; echo "<option class='".$nopassword."' value='".$user->id."'>".$user->nomcomplet."</option>\n";