aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-10 00:44:35 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-08-10 00:44:35 +0200
commit2dfc4851494a51ac04192030758f2b43da07b521 (patch)
treea6e9f3a6d571f9417c56758e181fe537a1a23f06 /apps
parent334296b027127651484fe4a1f7dd2a190817599f (diff)
downloadnextcloud-server-2dfc4851494a51ac04192030758f2b43da07b521.tar.gz
nextcloud-server-2dfc4851494a51ac04192030758f2b43da07b521.zip
XSRF checks
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/ajax/removeRootCertificate.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/ajax/removeRootCertificate.php b/apps/files_external/ajax/removeRootCertificate.php
index a00922f4210..f78f85b8fe4 100644
--- a/apps/files_external/ajax/removeRootCertificate.php
+++ b/apps/files_external/ajax/removeRootCertificate.php
@@ -1,6 +1,8 @@
<?php
OCP\JSON::checkAppEnabled('files_external');
+OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
$view = \OCP\Files::getStorage("files_external");
$cert = $_POST['cert'];