Skip to content

Commit 107661b

Browse files
committed
Update RouteServiceProvider.php
1 parent 7421d20 commit 107661b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/App/Providers/RouteServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected function configureRateLimiting(): void
8888

8989
RateLimiter::for('exports', function (Request $request) {
9090
$user = user();
91-
$attempts = $user->isGuest() ? 4 : 10;
91+
$attempts = $user->isGuest() ? 1 : 2;
9292
$key = $user->isGuest() ? $request->ip() : $user->id;
9393
return Limit::perMinute($attempts)->by($key);
9494
});

0 commit comments

Comments
 (0)