fixed password fields
This commit is contained in:
parent
a6c6ccf124
commit
ad7096e5b9
|
@ -82,7 +82,11 @@ if ($_POST['new_user'] || $_POST['del_user'] || $_POST['pdf_user']){
|
|||
$users = array_keys($_POST, "on");
|
||||
$userlist = array();
|
||||
// load users from LDAP
|
||||
for ($i = 0; $i < sizeof($users); $i++) $userlist[] = loaduser($users[$i]);
|
||||
for ($i = 0; $i < sizeof($users); $i++) {
|
||||
$userlist[$i] = loaduser($users[$i]);
|
||||
$userlist[$i]->unix_password = "";
|
||||
$userlist[$i]->smb_password = "";
|
||||
}
|
||||
createUserPDF($userlist);
|
||||
}
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue