diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 16d8dca68..536d99713 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -364,6 +364,10 @@ const RATES_LIMIT = { | |||
364 | LOGIN: { | 364 | LOGIN: { |
365 | WINDOW_MS: 5 * 60 * 1000, // 5 minutes | 365 | WINDOW_MS: 5 * 60 * 1000, // 5 minutes |
366 | MAX: 15 // 15 attempts | 366 | MAX: 15 // 15 attempts |
367 | }, | ||
368 | ASK_SEND_EMAIL: { | ||
369 | WINDOW_MS: 5 * 60 * 1000, // 5 minutes | ||
370 | MAX: 3 // 3 attempts | ||
367 | } | 371 | } |
368 | } | 372 | } |
369 | 373 | ||