summaryrefslogtreecommitdiffstats
path: root/settings/ajax/decryptall.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/decryptall.php')
-rw-r--r--settings/ajax/decryptall.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/decryptall.php b/settings/ajax/decryptall.php
index e53067931e8..ebc17aacfaa 100644
--- a/settings/ajax/decryptall.php
+++ b/settings/ajax/decryptall.php
@@ -1,5 +1,8 @@
<?php
+OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
+
//encryption app needs to be loaded
OC_App::loadApp('files_encryption');