mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
set account_lastpwd_change when importing ldap data. so users are not forced
to change their password.
This commit is contained in:
parent
9703549255
commit
44c4c53172
@ -96,8 +96,8 @@
|
|||||||
// do some checks before we try to import the data
|
// do some checks before we try to import the data
|
||||||
if (!empty($account[1]["account_id"]) && !empty($account[1]["account_lid"]))
|
if (!empty($account[1]["account_id"]) && !empty($account[1]["account_lid"]))
|
||||||
$db->query("insert into accounts (account_id,account_lid,account_pwd,account_permissions,"
|
$db->query("insert into accounts (account_id,account_lid,account_pwd,account_permissions,"
|
||||||
. "account_groups,account_status) values ('" . $account[1]["account_id"] . "','"
|
. "account_groups,account_status,account_lastpwd_change) values ('" . $account[1]["account_id"] . "','"
|
||||||
. $account[1]["account_lid"] . "','x','$np',',1:0,','A')",__LINE__,__FILE__);
|
. $account[1]["account_lid"] . "','x','$np',',1:0,','A','".time()."')",__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
$setup_complete = True;
|
$setup_complete = True;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user