]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed typo
authorFlorin Peter <github@florin-peter.de>
Mon, 3 Jun 2013 17:10:55 +0000 (19:10 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 11:40:13 +0000 (13:40 +0200)
apps/files_encryption/ajax/updatePrivateKeyPassword.php

index 49f97dd3231425b046953db51e8d7a144769b73d..6fd63dae9cdc2f7c5573a031ceedc4c9e091cebb 100644 (file)
@@ -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;
 }