|
@@ -19,7 +19,7 @@ const apiLimiter = rateLimit({
|
|
|
windowMs: 15 * 60 * 1000, // 15 minutes
|
|
windowMs: 15 * 60 * 1000, // 15 minutes
|
|
|
max: 10, // limit each IP to 10 requests per windowMs
|
|
max: 10, // limit each IP to 10 requests per windowMs
|
|
|
message:
|
|
message:
|
|
|
- 'Too many requests were sent from this IP. Please try a password reset request again on the password reset request form',
|
|
|
|
|
|
|
+ 'Too many requests sent from this IP, please try again after 15 minutes',
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
/**
|