diff options
author | Florin Peter <github@florin-peter.de> | 2013-06-03 19:10:55 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-06-03 19:10:55 +0200 |
commit | b46e7323ec6189f16405b8a22b073ca2d18d3bdb (patch) | |
tree | fbf8578438f51f268b47849a8d04757cf302fb19 /apps/files_encryption | |
parent | 563f343291fb5d0292c66cb761a053557bfdae47 (diff) | |
download | nextcloud-server-b46e7323ec6189f16405b8a22b073ca2d18d3bdb.tar.gz nextcloud-server-b46e7323ec6189f16405b8a22b073ca2d18d3bdb.zip |
fixed typo
Diffstat (limited to 'apps/files_encryption')
-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; } |