diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-20 03:24:35 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-07-20 03:25:27 +0100 |
commit | 50a8b45625b7d27a498abfb22cc0c9e16b262bd6 (patch) | |
tree | 2bbb7b346735f8ac0ed2c4a58870f88448917c1f /app/Http/Middleware | |
parent | 9e837642bd7974606c63851b3fc68d53afa1ce0a (diff) |
ACTUALLY make the cooldown 60 minutes
Diffstat (limited to 'app/Http/Middleware')
-rw-r--r-- | app/Http/Middleware/RateLimiter.php | 2 |
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); } |