fix(otp): send welcome email even when user signs up via email/pass along with oauth providers (#2825)

This commit is contained in:
Waleed
2026-01-14 18:46:18 -08:00
committed by GitHub
parent 212933746e
commit 4195cfe1ff

View File

@@ -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: [