From b9f2604bb5baacd3a2daef886acee6fba6029fd7 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 15:30:11 +0100 Subject: Update error message files, increment version --- app/Http/Middleware/RateLimiter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Http/Middleware') diff --git a/app/Http/Middleware/RateLimiter.php b/app/Http/Middleware/RateLimiter.php index c81da43..3ca9268 100644 --- a/app/Http/Middleware/RateLimiter.php +++ b/app/Http/Middleware/RateLimiter.php @@ -21,7 +21,7 @@ class RateLimiter if (Cache::has($cacheKey)) { // If the cache key exists, the IP has submitted an entry within the last hour - return response()->view('errors.ratelimit-guestbook', [], 429); + return response()->view('errors.guestbook-ratelimit', [], 429); } // Add the IP address to the cache and set the expiration time to one hour -- cgit v1.2.3-54-g00ecf