misc: removed comment

This commit is contained in:
Sheen Capadngan
2024-05-23 00:21:19 +08:00
parent 8ec8b1ce2f
commit a0d9331e67

View File

@@ -56,7 +56,6 @@ export const mfaRateLimit: RateLimitOptions = {
timeWindow: 60 * 1000,
max: 20,
keyGenerator: (req) => {
// fallback to IP to avoid global rate limiting when authorization is set to empty
return req.headers.authorization?.split(" ")[1] || req.realIp;
}
};