From 50a8b45625b7d27a498abfb22cc0c9e16b262bd6 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Thu, 20 Jul 2023 03:24:35 +0100 Subject: [PATCH] ACTUALLY make the cooldown 60 minutes --- app/Http/Middleware/RateLimiter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ public function handle(Request $request, Closure $next): Response } // 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); }