aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-10-04 02:28:18 -0700
committerBjörn Schießle <bjoern@schiessle.org>2013-10-04 02:28:18 -0700
commit5b7f76e7022f6d3c5cb4038a737df3870e56773b (patch)
tree3fe96647523e99f7f30db2a619773f44aedb529c /apps/files_encryption/ajax
parent1992450b32da7953ff6bd493b8ec5cfbb23d8d92 (diff)
parent9d2595a7c59048fc6ed3777a888e03d43a8f03f9 (diff)
downloadnextcloud-server-5b7f76e7022f6d3c5cb4038a737df3870e56773b.tar.gz
nextcloud-server-5b7f76e7022f6d3c5cb4038a737df3870e56773b.zip
Merge pull request #4691 from owncloud/encryption_improved_error_messages_4617
Encryption improved error messages
Diffstat (limited to 'apps/files_encryption/ajax')
-rw-r--r--apps/files_encryption/ajax/updatePrivateKeyPassword.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_encryption/ajax/updatePrivateKeyPassword.php b/apps/files_encryption/ajax/updatePrivateKeyPassword.php
index 1e6644da576..29c72952ae9 100644
--- a/apps/files_encryption/ajax/updatePrivateKeyPassword.php
+++ b/apps/files_encryption/ajax/updatePrivateKeyPassword.php
@@ -48,6 +48,7 @@ if ($decryptedKey) {
// success or failure
if ($return) {
+ $session->setInitialized(\OCA\Encryption\Session::INIT_SUCCESSFUL);
\OCP\JSON::success(array('data' => array('message' => $l->t('Private key password successfully updated.'))));
} else {
\OCP\JSON::error(array('data' => array('message' => $l->t('Could not update the private key password. Maybe the old password was not correct.'))));