From 53e7d1efa742d58e6b51ffd49a4ac158e4e13b06 Mon Sep 17 00:00:00 2001 From: alpeb Date: Sat, 11 Sep 2004 13:33:41 +0000 Subject: [PATCH] Put new password in ['phpgw_info']['user']['passwd'] in case any hook_changepassword uses it --- preferences/changepassword.php | 1 + 1 file changed, 1 insertion(+) diff --git a/preferences/changepassword.php b/preferences/changepassword.php index 5b5ef7a0c3..55d19a04ea 100755 --- a/preferences/changepassword.php +++ b/preferences/changepassword.php @@ -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;