From 7059637ad398c57791939788c88a20bb00aa6de3 Mon Sep 17 00:00:00 2001 From: skeeter Date: Thu, 22 Mar 2001 01:17:34 +0000 Subject: [PATCH] Fix to change password --- admin/editaccount.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/editaccount.php b/admin/editaccount.php index 4d6da7774c..24c5bc7bf8 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -188,10 +188,10 @@ $account = CreateObject('phpgwapi.accounts',$_userData['account_id']); $account->update_data($_userData); $account->save_repository(); - if ($_userData['passwd']) + if ($_userData['account_passwd']) { $auth = CreateObject('phpgwapi.auth'); - $auth->change_password($old_passwd, $_userData['passwd'], $_userData['account_id']); + $auth->change_password($old_passwd, $_userData['account_passwd'], $_userData['account_id']); } $apps = CreateObject('phpgwapi.applications',array(intval($_userData['account_id']),'u'));