mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
allow the option mustchangepassword to be set via admin_cmd_edit_user
This commit is contained in:
parent
1e1df2fe2c
commit
ada6c74efe
@ -90,6 +90,10 @@ class admin_cmd_edit_user extends admin_cmd_change_pw
|
||||
|
||||
$data['changepassword'] = admin_cmd::parse_boolean($data['changepassword'],$this->account ? null : true);
|
||||
$data['anonymous'] = admin_cmd::parse_boolean($data['anonymous'],$this->account ? null : false);
|
||||
if ($data['mustchangepassword'] && $data['changepassword'])
|
||||
{
|
||||
$data['account_lastpwd_change']=0;
|
||||
}
|
||||
|
||||
if (!$data['account_primary_group'] && $this->account)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user