CI/CD and more sensible authentication limiting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import rateLimit from 'express-rate-limit';
|
||||
|
||||
export const authRateLimiter = rateLimit({
|
||||
windowMs: 15 * 60 * 1000, // 15 minutes
|
||||
windowMs: 60 * 1000, // 1 minute
|
||||
max: 20,
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
|
||||
Reference in New Issue
Block a user