mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue