forked from extern/egroupware
Put new password in ['phpgw_info']['user']['passwd'] in case any hook_changepassword uses it
This commit is contained in:
parent
b5d0db1ebf
commit
84aff72ae2
@ -79,6 +79,7 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->session->appsession('password','phpgwapi',base64_encode($n_passwd));
|
$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']['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;
|
||||||
|
Loading…
Reference in New Issue
Block a user