mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
fix: Error handling on forgot password page (no-changelog) (#7633)
fixes: https://linear.app/n8n/issue/ADO-1339/fix-error-handling-on-forgot-password-page
This commit is contained in:
@@ -35,6 +35,7 @@ import { rateLimit } from 'express-rate-limit';
|
||||
const throttle = rateLimit({
|
||||
windowMs: 5 * 60 * 1000, // 5 minutes
|
||||
limit: 5, // Limit each IP to 5 requests per `window` (here, per 5 minutes).
|
||||
message: { message: 'Too many requests' },
|
||||
});
|
||||
|
||||
@RestController()
|
||||
|
||||
Reference in New Issue
Block a user