mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix to change password
This commit is contained in:
parent
649078db4a
commit
7059637ad3
@ -188,10 +188,10 @@
|
|||||||
$account = CreateObject('phpgwapi.accounts',$_userData['account_id']);
|
$account = CreateObject('phpgwapi.accounts',$_userData['account_id']);
|
||||||
$account->update_data($_userData);
|
$account->update_data($_userData);
|
||||||
$account->save_repository();
|
$account->save_repository();
|
||||||
if ($_userData['passwd'])
|
if ($_userData['account_passwd'])
|
||||||
{
|
{
|
||||||
$auth = CreateObject('phpgwapi.auth');
|
$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'));
|
$apps = CreateObject('phpgwapi.applications',array(intval($_userData['account_id']),'u'));
|
||||||
|
Loading…
Reference in New Issue
Block a user