fix for bug [ 953779 ] auth->change_password function called twice

This commit is contained in:
Lars Kneschke 2004-05-16 20:13:31 +00:00
parent b7854bd614
commit 23b38ac7e9

View File

@ -78,7 +78,7 @@
} }
else 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']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id'];
$GLOBALS['hook_values']['old_passwd'] = $o_passwd; $GLOBALS['hook_values']['old_passwd'] = $o_passwd;
$GLOBALS['hook_values']['new_passwd'] = $n_passwd; $GLOBALS['hook_values']['new_passwd'] = $n_passwd;