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-26 20:18:38 +0400
commit86b3cdc132a2ae19caf327985d5613a58804d1b5 (patch)
tree908bf82891c1db041315b0c23813dc9745749c66 /settings
parentb7385986ae47e6898ad7adf502c8cfba258656a2 (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 {