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.

update EMAIL_OTP_EXPIRY_IN to 2 min

Kiran K89b961882078
diff --git a/apps/web/lib/auth/constants.ts b/apps/web/lib/auth/constants.ts
index 82ff8bb487..ebabd9224a 100644
--- a/apps/web/lib/auth/constants.ts
+++ b/apps/web/lib/auth/constants.ts
@@ -2,4 +2,4 @@ export const PASSWORD_RESET_TOKEN_EXPIRY = 1 * 60 * 60; // 1 hour
export const MAX_LOGIN_ATTEMPTS = 10;
-export const EMAIL_OTP_EXPIRY_IN = 60 * 60; // 1 hour
+export const EMAIL_OTP_EXPIRY_IN = 2 * 60; // 2 minutes