fix(otp): fix email not sending (#917)

This commit is contained in:
Waleed Latif
2025-08-08 17:25:44 -07:00
committed by GitHub
parent 43a3416347
commit 9a4de1f0c6

View File

@@ -284,7 +284,7 @@ export const auth = betterAuth({
throw error
}
},
sendVerificationOnSignUp: false,
sendVerificationOnSignUp: true,
otpLength: 6, // Explicitly set the OTP length
expiresIn: 15 * 60, // 15 minutes in seconds
}),