diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 00:44:35 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 00:44:35 +0200 |
commit | 2dfc4851494a51ac04192030758f2b43da07b521 (patch) | |
tree | a6e9f3a6d571f9417c56758e181fe537a1a23f06 /apps/files_external/ajax | |
parent | 334296b027127651484fe4a1f7dd2a190817599f (diff) | |
download | nextcloud-server-2dfc4851494a51ac04192030758f2b43da07b521.tar.gz nextcloud-server-2dfc4851494a51ac04192030758f2b43da07b521.zip |
XSRF checks
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r-- | apps/files_external/ajax/removeRootCertificate.php | 2 |
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']; |