mirror of
https://github.com/reactos/reactos.git
synced 2024-11-25 12:33:34 +08:00
[NET] Set the proper account expiration time (TIMEQ_FOREVER) when a new user account is created
This commit is contained in:
parent
6eb6aa2895
commit
8f63c209bc
@ -729,6 +729,7 @@ cmdUser(
|
||||
UserInfo.usri4_name = lpUserName;
|
||||
UserInfo.usri4_password = lpPassword;
|
||||
UserInfo.usri4_flags = UF_SCRIPT | UF_NORMAL_ACCOUNT;
|
||||
UserInfo.usri4_acct_expires = TIMEQ_FOREVER;
|
||||
|
||||
pUserInfo = &UserInfo;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user