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";
diff --git a/ajax/userinfo.php b/ajax/userinfo.php
index 6a36742..b75a3ff 100644
--- a/ajax/userinfo.php
+++ b/ajax/userinfo.php
@@ -1,4 +1,5 @@
<?php
+ require '../credentials.php';
require '../php/utils.php';
$user = get_users($_POST['id']);