diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 12:27:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 12:27:40 +0200 |
commit | fb462e83ccde5c46565c23545c5eb894acbd6fd3 (patch) | |
tree | 4b334e82c8e61247419f4120b18922fc923f5cf7 /apps/files_encryption/ajax | |
parent | 69b1625f0e368e65771fef473f4b4d4a13456354 (diff) | |
download | nextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.tar.gz nextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.zip |
no longer enforce log out, but provide useful errors/warnings instead
Diffstat (limited to 'apps/files_encryption/ajax')
-rw-r--r-- | apps/files_encryption/ajax/updatePrivateKeyPassword.php | 1 |
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.')))); |