From a1f5bef661f8438776f0572f3aa29c674a631434 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 5 Mar 2015 20:31:55 +0200 Subject: [PATCH] Removing API limits for self host --- app/filters.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/filters.php b/app/filters.php index b374723a64..8dddcf16f9 100755 --- a/app/filters.php +++ b/app/filters.php @@ -187,6 +187,10 @@ Route::filter('api.access', function() sleep(3); return Response::make('Invalid token', 403, $headers); } + + if (!Utils::isNinja()) { + return null; + } if (!Utils::isPro()) { return Response::make('API requires pro plan', 403, $headers);