summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/google.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/google.php
parent2507e0da1d61af5d9a9506a29aa6df4c31ac068e (diff)
downloadnextcloud-server-a9c77ebaf80288d210c8ad3ba28a6d2a4eaac1c8.tar.gz
nextcloud-server-a9c77ebaf80288d210c8ad3ba28a6d2a4eaac1c8.zip
Check requesttoken
Diffstat (limited to 'apps/files_external/ajax/google.php')
-rw-r--r--apps/files_external/ajax/google.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/google.php
index c76c7618e4d..70adcb2c2ad 100644
--- a/apps/files_external/ajax/google.php
+++ b/apps/files_external/ajax/google.php
@@ -4,6 +4,8 @@ require_once 'Google/common.inc.php';
OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
+
$consumer = new OAuthConsumer('anonymous', 'anonymous');
$sigMethod = new OAuthSignatureMethod_HMAC_SHA1();
if (isset($_POST['step'])) {