summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-02-26 17:18:38 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-02-26 17:18:38 +0100
commit86b3cdc132a2ae19caf327985d5613a58804d1b5 (patch)
tree908bf82891c1db041315b0c23813dc9745749c66 /settings/ajax
parentb7385986ae47e6898ad7adf502c8cfba258656a2 (diff)
downloadnextcloud-server-86b3cdc132a2ae19caf327985d5613a58804d1b5.tar.gz
nextcloud-server-86b3cdc132a2ae19caf327985d5613a58804d1b5.zip
close encryption session after decryption was finished
Diffstat (limited to 'settings/ajax')
-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 {