From: Florin Peter Date: Mon, 3 Jun 2013 17:10:55 +0000 (+0200) Subject: fixed typo X-Git-Tag: v6.0.0alpha2~641^2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b46e7323ec6189f16405b8a22b073ca2d18d3bdb;p=nextcloud-server.git fixed typo --- 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; }