mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02:00
Removing API limits for self host
This commit is contained in:
parent
3556871fa9
commit
a1f5bef661
@ -187,6 +187,10 @@ Route::filter('api.access', function()
|
|||||||
sleep(3);
|
sleep(3);
|
||||||
return Response::make('Invalid token', 403, $headers);
|
return Response::make('Invalid token', 403, $headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Utils::isNinja()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (!Utils::isPro()) {
|
if (!Utils::isPro()) {
|
||||||
return Response::make('API requires pro plan', 403, $headers);
|
return Response::make('API requires pro plan', 403, $headers);
|
||||||
|
Loading…
Reference in New Issue
Block a user