diff --git a/app/pages/login.php b/app/pages/login.php index 0eb3ae1..6adedc2 100644 --- a/app/pages/login.php +++ b/app/pages/login.php @@ -23,7 +23,7 @@ try { // Initialize RateLimiter require_once '../app/classes/ratelimiter.php'; - $rateLimiter = new RateLimiter($dbWeb); + $rateLimiter = new RateLimiter($dbWeb['db']); if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) { try {