diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-02-26 20:18:38 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-02-27 14:48:29 +0400 |
commit | 9a0c78b8315908646f7786d57eaafa0951e53f2f (patch) | |
tree | 126b2a6e4db7a2b671260baea36dfcc80e5156ab /settings | |
parent | 61a37331ceb155a6b20a2242d8f3dc9057c30d3e (diff) |
close encryption session after decryption was finished
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/decryptall.php | 2 |
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 { |