From 4e2ff14cda7b2a6657afd0477f94d7574ff75a45 Mon Sep 17 00:00:00 2001 From: Florin Peter Date: Mon, 3 Jun 2013 19:10:55 +0200 Subject: [PATCH] fixed typo --- apps/files_encryption/ajax/updatePrivateKeyPassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5