diff --git a/preferences/changepassword.php b/preferences/changepassword.php index 9beb9d0ae0..f918d40725 100755 --- a/preferences/changepassword.php +++ b/preferences/changepassword.php @@ -78,7 +78,7 @@ } else { - $GLOBALS['phpgw_info']['user']['passwd'] = $GLOBALS['phpgw']->auth->change_password($o_passwd, $n_passwd); + $GLOBALS['phpgw_info']['user']['passwd'] = $passwd_changed; $GLOBALS['hook_values']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id']; $GLOBALS['hook_values']['old_passwd'] = $o_passwd; $GLOBALS['hook_values']['new_passwd'] = $n_passwd;