summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-05 00:37:08 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-05 00:37:08 +0200
commitdac2c14ae932187f30b045bf700680d75375b9fa (patch)
treea9d7ace06871dfefc256e11fd70c1e8182d0aad7 /apps/contacts/ajax
parent5d79444852cdc12f976264c21409311a475cf54f (diff)
downloadnextcloud-server-dac2c14ae932187f30b045bf700680d75375b9fa.tar.gz
nextcloud-server-dac2c14ae932187f30b045bf700680d75375b9fa.zip
Add missing CSRF check.
Diffstat (limited to 'apps/contacts/ajax')
-rw-r--r--apps/contacts/ajax/uploadimport.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/uploadimport.php b/apps/contacts/ajax/uploadimport.php
index c1e9c8b1ad1..9511520828f 100644
--- a/apps/contacts/ajax/uploadimport.php
+++ b/apps/contacts/ajax/uploadimport.php
@@ -23,6 +23,7 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
+OCP\JSON::callCheck();
require_once('loghandler.php');
$view = OCP\Files::getStorage('contacts');