aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware/RateLimiter.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-16 15:30:11 +0100
committerFrankie B <git@diskfloppy.me>2023-07-16 15:32:06 +0100
commitb9f2604bb5baacd3a2daef886acee6fba6029fd7 (patch)
tree22a1091b2b5ca088a1d1d6e5ecaa0169365555aa /app/Http/Middleware/RateLimiter.php
parent65b02f3b8df505b60230af0647d7187f4dc7cfd7 (diff)
Update error message files, increment version
Diffstat (limited to 'app/Http/Middleware/RateLimiter.php')
-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