Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-02-26 20:18:38 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2014-02-27 14:48:29 +0400
commit9a0c78b8315908646f7786d57eaafa0951e53f2f (patch)
tree126b2a6e4db7a2b671260baea36dfcc80e5156ab /settings
parent61a37331ceb155a6b20a2242d8f3dc9057c30d3e (diff)
close encryption session after decryption was finished
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/decryptall.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/ajax/decryptall.php b/settings/ajax/decryptall.php
index d7c104ab151..4782a4cfc81 100644
--- a/settings/ajax/decryptall.php
+++ b/settings/ajax/decryptall.php
@@ -24,6 +24,8 @@ if ($result !== false) {
$successful = false;
}
+ $util->closeEncryptionSession();
+
if ($successful === true) {
\OCP\JSON::success(array('data' => array('message' => 'Files decrypted successfully')));
} else {