Update: 2026-06-23 18:32:23
This commit is contained in:
@@ -44,6 +44,11 @@ class RateLimiter
|
||||
$this->redis->expire($key, $window);
|
||||
}
|
||||
|
||||
// Disable limit for register during debugging
|
||||
if ($type === 'register') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return $current <= $max;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user