mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-01 03:19:20 +08:00
chore: relax user forgot password rate limit
This commit is contained in:
parent
016e55036c
commit
65a3f9dacb
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ export const userRequestVerificationEmail = rateLimit({
|
|||
});
|
||||
|
||||
export const userForgotPasswordEmail = rateLimit({
|
||||
windowMs: ONE_HOUR_MS / 4,
|
||||
windowMs: ONE_HOUR_MS / 60,
|
||||
max: 1 * REQUEST_MULTIPLIER,
|
||||
keyGenerator: getKeyWithUid,
|
||||
handler: customHandler,
|
||||
|
|
Loading…
Reference in a new issue