Skip to content

Commit 4195cfe

Browse files
authored
fix(otp): send welcome email even when user signs up via email/pass along with oauth providers (#2825)
1 parent 2129337 commit 4195cfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/sim/lib/auth/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ export const auth = betterAuth({
592592
sendVerificationOnSignUp: false,
593593
otpLength: 6, // Explicitly set the OTP length
594594
expiresIn: 15 * 60, // 15 minutes in seconds
595+
overrideDefaultEmailVerification: true,
595596
}),
596597
genericOAuth({
597598
config: [

0 commit comments

Comments
 (0)