mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix typo, as the account_lastpwd_change was not altered anymore on password change
This commit is contained in:
parent
76980e665c
commit
9ec96b10e4
@ -236,7 +236,7 @@ class auth_sql implements auth_backend
|
|||||||
private function _update_passwd($encrypted_passwd,$new_passwd,$account_id,$admin=false,$update_lastpw_change=true)
|
private function _update_passwd($encrypted_passwd,$new_passwd,$account_id,$admin=false,$update_lastpw_change=true)
|
||||||
{
|
{
|
||||||
$update = array('account_pwd' => $encrypted_passwd);
|
$update = array('account_pwd' => $encrypted_passwd);
|
||||||
if ($update_lastpw_change) $write['account_lastpwd_change'] = time();
|
if ($update_lastpw_change) $update['account_lastpwd_change'] = time();
|
||||||
|
|
||||||
$this->db->update($this->table,$update,array(
|
$this->db->update($this->table,$update,array(
|
||||||
'account_id' => $account_id,
|
'account_id' => $account_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user