From b46e7323ec6189f16405b8a22b073ca2d18d3bdb 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 49f97dd323..6fd63dae9c 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; }