From 50a8b45625b7d27a498abfb22cc0c9e16b262bd6 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Thu, 20 Jul 2023 03:24:35 +0100 Subject: ACTUALLY make the cooldown 60 minutes --- app/Http/Middleware/RateLimiter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Http/Middleware/RateLimiter.php b/app/Http/Middleware/RateLimiter.php index 3ca9268..8c00b57 100644 --- a/app/Http/Middleware/RateLimiter.php +++ b/app/Http/Middleware/RateLimiter.php @@ -25,7 +25,7 @@ class RateLimiter } // Add the IP address to the cache and set the expiration time to one hour - Cache::put($cacheKey, true, 60); + Cache::put($cacheKey, true, 3600); return $next($request); } -- cgit v1.2.3-54-g00ecf