This commit is contained in:
2023-02-16 01:39:09 +00:00
parent 6f0455aa85
commit ff4b0674f7
3 changed files with 22 additions and 7 deletions

View File

@@ -53,7 +53,8 @@ namespace Sockeye.Biz
//Process a new request / Generate an email confirm code
newObject.EmailConfirmCode = StringUtil.GenFetchCode();
newObject.EmailValidated = false;
newObject.Status = TrialRequestStatus.AwaitingEmailValidation;
if (!importingDoNotNotify)
newObject.Status = TrialRequestStatus.AwaitingEmailValidation;
await ct.TrialLicenseRequest.AddAsync(newObject);
await ct.SaveChangesAsync();
@@ -150,7 +151,7 @@ namespace Sockeye.Biz
l.PGroup = putObject.PGroup;
l.TrialMode = true;
l.RegTo = putObject.CompanyName;
l.FetchEmail=putObject.Email;
l.FetchEmail = putObject.Email;
//perpet and sub both same number of users, covers seeded data values
l.Users = RavenKeyFactory.TRIAL_KEY_USERS;