Revert per user API rate limit

It was changed from per user to per application in ced3e50bca
This commit is contained in:
Viktor Szépe 2020-10-22 22:41:03 +02:00 committed by GitHub
parent d82d7505a1
commit 453d7286f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public function boot()
protected function configureRateLimiting()
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60);
return Limit::perMinute(60)->by($request->ip());
});
}
}