aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-20 03:24:35 +0100
committerFrankie B <git@diskfloppy.me>2023-07-20 03:25:27 +0100
commit50a8b45625b7d27a498abfb22cc0c9e16b262bd6 (patch)
tree2bbb7b346735f8ac0ed2c4a58870f88448917c1f
parent9e837642bd7974606c63851b3fc68d53afa1ce0a (diff)
ACTUALLY make the cooldown 60 minutes
-rw-r--r--app/Http/Middleware/RateLimiter.php2
1 files changed, 1 insertions, 1 deletions
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);
}