Merge pull request #806 from TheSerapher/issue-804
[FIX] Propagate dashboard when API disabled
This commit is contained in:
commit
3b2560bf62
@ -3,9 +3,6 @@
|
||||
// Make sure we are called from index.php
|
||||
if (!defined('SECURITY')) die('Hacking attempt');
|
||||
|
||||
// Check if the API is activated
|
||||
$api->isActive();
|
||||
|
||||
// Check user token and access level permissions
|
||||
$user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user