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