diff --git a/app/classes/ratelimitrer.php b/app/classes/ratelimitrer.php index 628bfd0..98c9926 100644 --- a/app/classes/ratelimitrer.php +++ b/app/classes/ratelimitrer.php @@ -92,6 +92,11 @@ class RateLimiter { } public function attempt($username, $ipAddress) { + // Skip rate limiting for whitelisted IPs + if ($this->isIpWhitelisted($ipAddress)) { + return true; + } + // Clean old attempts $this->clearOldAttempts();