summaryrefslogtreecommitdiff
path: root/lib/users/verifyOtp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/users/verifyOtp.ts')
-rw-r--r--lib/users/verifyOtp.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/users/verifyOtp.ts b/lib/users/verifyOtp.ts
index 84919024..7b25ed49 100644
--- a/lib/users/verifyOtp.ts
+++ b/lib/users/verifyOtp.ts
@@ -23,6 +23,7 @@ export async function verifyOtp(email: string, code: string) {
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}
@@ -44,6 +45,7 @@ export async function verifyOtpTemp(email: string) {
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}
@@ -70,6 +72,7 @@ export async function verifyExternalCredentials(username: string, password: stri
id: otpRecord.id,
imageUrl: otpRecord.imageUrl,
companyId: otpRecord.companyId,
+ techCompanyId: otpRecord.techCompanyId,
domain: otpRecord.domain,
}
}