forked from extern/egroupware
retunr flase, if password changing was not succesfull
This commit is contained in:
parent
1e1fe30c51
commit
13b082b088
@ -52,9 +52,10 @@
|
||||
$encrypted_passwd = $phpgw->common->encrypt_password($new_passwd);
|
||||
$entry["userpassword"] = $encrypted_passwd;
|
||||
#$entry["phpgw_lastpasswd_change"] = time();
|
||||
|
||||
$dn = $phpgw_info["user"]["account_dn"];
|
||||
@ldap_modify($ldap, $dn, $entry);
|
||||
|
||||
if (!@ldap_modify($ldap, $dn, $entry)) return false;
|
||||
|
||||
return $encrypted_passwd;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user