Defines the blacklist table

main
Yasen Pramatarov 2025-01-03 17:51:30 +02:00
parent 020d0ee22d
commit 65417f7d92
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class RateLimiter {
private $decayMinutes = 15; // Time window in minutes
private $ratelimitTable = 'login_attempts';
private $whitelistTable = 'ip_whitelist';
private $blacklistTable = 'ip_blacklist';
public function __construct($database) {
$this->db = $database->getConnection();