mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Fix attempts counting
This commit is contained in:
@@ -37,7 +37,7 @@ class RateLimit
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->attempts($ip) > $this->max_attempts;
|
||||
return $this->attempts($ip) >= $this->max_attempts;
|
||||
}
|
||||
|
||||
public function increment(string $ip): bool
|
||||
|
Reference in New Issue
Block a user