Skip to content

Commit 65a3f9d

Browse files
committed
chore: relax user forgot password rate limit
1 parent 016e550 commit 65a3f9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/middlewares/rate-limit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export const userRequestVerificationEmail = rateLimit({
478478
});
479479

480480
export const userForgotPasswordEmail = rateLimit({
481-
windowMs: ONE_HOUR_MS / 4,
481+
windowMs: ONE_HOUR_MS / 60,
482482
max: 1 * REQUEST_MULTIPLIER,
483483
keyGenerator: getKeyWithUid,
484484
handler: customHandler,

0 commit comments

Comments
 (0)