Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

increase EMAIL_OTP_EXPIRY_IN to 5 mins

Steven Tey31feaaaaa4de
diff --git a/apps/web/lib/auth/constants.ts b/apps/web/lib/auth/constants.ts
index 8290f67bde..bdc55a0e6c 100644
--- a/apps/web/lib/auth/constants.ts
+++ b/apps/web/lib/auth/constants.ts
@@ -2,7 +2,7 @@ export const PASSWORD_RESET_TOKEN_EXPIRY = 1 * 60 * 60; // 1 hour
export const MAX_LOGIN_ATTEMPTS = 10;
-export const EMAIL_OTP_EXPIRY_IN = 2 * 60; // 2 minutes
+export const EMAIL_OTP_EXPIRY_IN = 5 * 60; // 5 minutes
export const FRAMER_API_HOST =
process.env.NODE_ENV === "production"