mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
try to set a logical default for ->can change passwords<- for new accounts. true if you force users to change passwords every x days, false if not
This commit is contained in:
parent
66ea661e08
commit
cc01eda69f
@ -1377,7 +1377,7 @@
|
||||
$userData['status'] = 'A';
|
||||
$userGroups = Array();
|
||||
$userData['anonymous'] = False;
|
||||
$userData['changepassword'] = True;
|
||||
$userData['changepassword'] = (bool)$GLOBALS['egw_info']['server']['change_pwd_every_x_days'];
|
||||
$userData['mustchangepassword'] = false;
|
||||
}
|
||||
$allGroups = $account->get_list('groups');
|
||||
|
Loading…
Reference in New Issue
Block a user