1
0
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:
Hillel Coren 2015-03-05 20:31:55 +02:00
parent 3556871fa9
commit a1f5bef661

View File

@ -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 {