File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const rateLimit = require('express-rate-limit');
33// Rate limiter for authentication routes (stricter)
44const authLimiter = rateLimit ( {
55 windowMs : 15 * 60 * 1000 , // 15 minutes
6- max : 5 , // 5 attempts per window
6+ max : process . env . NODE_ENV === 'development' ? 50 : 5 , // More lenient in dev
77 message : {
88 success : false ,
99 message : 'Too many login attempts. Please try again after 15 minutes.'
Original file line number Diff line number Diff line change 22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
5- < link rel ="icon " type ="image/svg+xml " href ="/vite .svg " />
5+ < link rel ="icon " type ="image/svg+xml " href ="/flowops .svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > FlowOps</ title >
88 </ head >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments