summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-26 12:47:59 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-26 12:47:59 +0100
commit2556647a10adb01a88e1f43c1794b8073f46e90f (patch)
tree5c6ed040fc49edfe7b935b6829ea080ad3076a40 /settings
parentdc67c7efa9ff20f8b4466e5b6490405439d4a90f (diff)
downloadnextcloud-server-2556647a10adb01a88e1f43c1794b8073f46e90f.tar.gz
nextcloud-server-2556647a10adb01a88e1f43c1794b8073f46e90f.zip
check if user is logged in
Diffstat (limited to 'settings')
-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');