diff options
-rw-r--r-- | apps/files_encryption/ajax/updatePrivateKeyPassword.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/ajax/updatePrivateKeyPassword.php b/apps/files_encryption/ajax/updatePrivateKeyPassword.php index 49f97dd3231..6fd63dae9cd 100644 --- a/apps/files_encryption/ajax/updatePrivateKeyPassword.php +++ b/apps/files_encryption/ajax/updatePrivateKeyPassword.php @@ -39,7 +39,7 @@ if ($decryptedKey) { $encryptedKey = \OCA\Encryption\Crypt::symmetricEncryptFileContent($decryptedKey, $newPassword); $view->file_put_contents($keyPath, $encryptedKey); - $session->getPrivateKey($decryptedKey); + $session->setPrivateKey($decryptedKey); $return = true; } |