From 23b38ac7e96682567403173c6226da7066c16ff8 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 16 May 2004 20:13:31 +0000 Subject: [PATCH] fix for bug [ 953779 ] auth->change_password function called twice --- preferences/changepassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/changepassword.php b/preferences/changepassword.php index 9beb9d0ae0..f918d40725 100755 --- a/preferences/changepassword.php +++ b/preferences/changepassword.php @@ -78,7 +78,7 @@ } 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']['old_passwd'] = $o_passwd; $GLOBALS['hook_values']['new_passwd'] = $n_passwd;