From 84aff72ae25fb4066ca7fdf1a612f56832952259 Mon Sep 17 00:00:00 2001 From: alpeb Date: Sat, 11 Sep 2004 13:34:09 +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 629d2c276d..70201cdac7 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;