summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/dropbox.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/ajax/dropbox.php')
-rw-r--r--apps/files_external/ajax/dropbox.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/ajax/dropbox.php b/apps/files_external/ajax/dropbox.php
index 58c41d69062..bc9821c62ec 100644
--- a/apps/files_external/ajax/dropbox.php
+++ b/apps/files_external/ajax/dropbox.php
@@ -4,6 +4,8 @@ require_once 'Dropbox/autoload.php';
OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
+
if (isset($_POST['app_key']) && isset($_POST['app_secret'])) {
$oauth = new Dropbox_OAuth_Curl($_POST['app_key'], $_POST['app_secret']);
if (isset($_POST['step'])) {