aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Middleware')
-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 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