From 2556647a10adb01a88e1f43c1794b8073f46e90f Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <schiessle@owncloud.com>
Date: Tue, 26 Nov 2013 12:47:59 +0100
Subject: [PATCH] check if user is logged in

---
 settings/ajax/decryptall.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/settings/ajax/decryptall.php b/settings/ajax/decryptall.php
index e53067931e..ebc17aacfa 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');
 
-- 
GitLab