summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/dropbox.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-12 11:35:16 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-12 11:35:16 +0100
commita9c77ebaf80288d210c8ad3ba28a6d2a4eaac1c8 (patch)
treea6459de3601fe5856d089f666fae67e454f1aa9a /apps/files_external/ajax/dropbox.php
parent2507e0da1d61af5d9a9506a29aa6df4c31ac068e (diff)
downloadnextcloud-server-a9c77ebaf80288d210c8ad3ba28a6d2a4eaac1c8.tar.gz
nextcloud-server-a9c77ebaf80288d210c8ad3ba28a6d2a4eaac1c8.zip
Check requesttoken
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'])) {