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'));