Skip to content

Commit 9a4de1f

Browse files
authored
fix(otp): fix email not sending (#917)
1 parent 43a3416 commit 9a4de1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export const auth = betterAuth({
284284
throw error
285285
}
286286
},
287-
sendVerificationOnSignUp: false,
287+
sendVerificationOnSignUp: true,
288288
otpLength: 6, // Explicitly set the OTP length
289289
expiresIn: 15 * 60, // 15 minutes in seconds
290290
}),

0 commit comments

Comments
 (0)