mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix change password button active state on no errors
This commit is contained in:
@@ -38,7 +38,7 @@ const authLimit = rateLimit({
|
||||
}
|
||||
});
|
||||
|
||||
// 50 requests per 1 hour
|
||||
// 5 requests per 1 hour
|
||||
export const passwordLimiter = rateLimit({
|
||||
store: new MongoStore({
|
||||
uri: process.env.MONGO_URL,
|
||||
@@ -47,7 +47,7 @@ export const passwordLimiter = rateLimit({
|
||||
collectionName: "expressRateRecords-passwordLimiter",
|
||||
}),
|
||||
windowMs: 1000 * 60 * 60,
|
||||
max: 50,
|
||||
max: 5,
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
keyGenerator: (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user