Just commit it all
This commit is contained in:
parent
a64bcc2c46
commit
36f9b56049
83 changed files with 1949 additions and 1658 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue