mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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
6d083211e9
commit
55c2133509
@ -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