Put new password in ['phpgw_info']['user']['passwd'] in case any hook_changepassword uses it

This commit is contained in:
alpeb 2004-09-11 13:34:09 +00:00
parent b5d0db1ebf
commit 84aff72ae2

View File

@ -79,6 +79,7 @@
else
{
$GLOBALS['phpgw']->session->appsession('password','phpgwapi',base64_encode($n_passwd));
$GLOBALS['phpgw_info']['user']['passwd'] = $n_passwd;
$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;