From 65417f7d92848e7d4e556e305eb8ecdc57b1e590 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Fri, 3 Jan 2025 17:51:30 +0200 Subject: [PATCH] Defines the blacklist table --- app/classes/ratelimitrer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/classes/ratelimitrer.php b/app/classes/ratelimitrer.php index a1850fd..4aecd2c 100644 --- a/app/classes/ratelimitrer.php +++ b/app/classes/ratelimitrer.php @@ -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();