mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(otp): fix email not sending (#917)
This commit is contained in:
@@ -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
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user