[NET] Set the proper account expiration time (TIMEQ_FOREVER) when a new user account is created

This commit is contained in:
Eric Kohl 2018-08-26 20:26:34 +02:00
parent 6eb6aa2895
commit 8f63c209bc

View File

@ -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;
}