Commit 23bcf0b
committed
feat: update authentication rate limiting to 15-minute windows
Updated all authentication rate limiters from 1-hour windows to more
reasonable 15-minute windows for better user experience while maintaining
security. Also fixed TypeScript error in PasswordRequirements component.
Changes:
- Auth rate limiter: 5 requests per 15 minutes (was 1 hour)
- Strict auth rate limiter: 3 requests per 15 minutes (unchanged window)
- Signup rate limiter: 5 attempts per 15 minutes (was 1 hour)
- Fixed useEffect return type in PasswordRequirements.tsx1 parent 3e94214 commit 23bcf0b
3 files changed
Lines changed: 4 additions & 3 deletions
File tree
- packages
- server/src
- resolvers
- web/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
560 | | - | |
| 559 | + | |
| 560 | + | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments