Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Reuse OTP codes on resend instead of rotating (#2439)

Luke Vella27d29d7a5baa
diff --git a/apps/web/src/lib/auth.ts b/apps/web/src/lib/auth.ts
index ecb3285b2..3d5241a9c 100644
--- a/apps/web/src/lib/auth.ts
+++ b/apps/web/src/lib/auth.ts
@@ -152,6 +152,7 @@ export const authLib = betterAuth({
emailOTP({
disableSignUp: true,
expiresIn: 15 * 60,
+ resendStrategy: "reuse",
overrideDefaultEmailVerification: true,
changeEmail: {
enabled: true,