Just commit it all

This commit is contained in:
Frankie B 2024-04-01 14:21:45 +01:00
commit 36f9b56049
No known key found for this signature in database
83 changed files with 1949 additions and 1658 deletions

View file

@ -16,6 +16,9 @@ class RateLimiter
*/
public function handle(Request $request, Closure $next): Response
{
if (auth()->check()) {
return $next($request);
}
$ipAddress = $request->ip();
$cacheKey = 'rate_limit_'.$ipAddress;