From 4195cfe1ff0bb34067a06f96c2037eeefcd87553 Mon Sep 17 00:00:00 2001 From: Waleed Date: Wed, 14 Jan 2026 18:46:18 -0800 Subject: [PATCH] fix(otp): send welcome email even when user signs up via email/pass along with oauth providers (#2825) --- apps/sim/lib/auth/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/lib/auth/auth.ts b/apps/sim/lib/auth/auth.ts index 87106ac2dc..c80f27ea54 100644 --- a/apps/sim/lib/auth/auth.ts +++ b/apps/sim/lib/auth/auth.ts @@ -592,6 +592,7 @@ export const auth = betterAuth({ sendVerificationOnSignUp: false, otpLength: 6, // Explicitly set the OTP length expiresIn: 15 * 60, // 15 minutes in seconds + overrideDefaultEmailVerification: true, }), genericOAuth({ config: [