From 8f63c209bc1ae1ad0240b66f43e82efd4bb0d947 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 26 Aug 2018 20:26:34 +0200 Subject: [PATCH] [NET] Set the proper account expiration time (TIMEQ_FOREVER) when a new user account is created --- base/applications/network/net/cmdUser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/base/applications/network/net/cmdUser.c b/base/applications/network/net/cmdUser.c index a67476e13d2..fd8450057a3 100644 --- a/base/applications/network/net/cmdUser.c +++ b/base/applications/network/net/cmdUser.c @@ -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; }