aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-06-03 19:10:55 +0200
committerFlorin Peter <github@florin-peter.de>2013-06-03 19:10:55 +0200
commitb46e7323ec6189f16405b8a22b073ca2d18d3bdb (patch)
treefbf8578438f51f268b47849a8d04757cf302fb19 /apps/files_encryption
parent563f343291fb5d0292c66cb761a053557bfdae47 (diff)
downloadnextcloud-server-b46e7323ec6189f16405b8a22b073ca2d18d3bdb.tar.gz
nextcloud-server-b46e7323ec6189f16405b8a22b073ca2d18d3bdb.zip
fixed typo
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/ajax/updatePrivateKeyPassword.php2
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;
}