summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/ajax/updatePrivateKeyPassword.php
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-06-03 18:42:13 +0200
committerFlorin Peter <github@florin-peter.de>2013-06-03 18:42:13 +0200
commitdc8bcf0688c80220a864b5829ecefbd2c0d70ea4 (patch)
tree6d9cbc1a65a315af07bce7595ea0de195389e554 /apps/files_encryption/ajax/updatePrivateKeyPassword.php
parent1e601cd6f1a4be0f3736467e08c6de8603b6aad0 (diff)
downloadnextcloud-server-dc8bcf0688c80220a864b5829ecefbd2c0d70ea4.tar.gz
nextcloud-server-dc8bcf0688c80220a864b5829ecefbd2c0d70ea4.zip
reformat code
Diffstat (limited to 'apps/files_encryption/ajax/updatePrivateKeyPassword.php')
-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 e0b3d55d8b3..49f97dd3231 100644
--- a/apps/files_encryption/ajax/updatePrivateKeyPassword.php
+++ b/apps/files_encryption/ajax/updatePrivateKeyPassword.php
@@ -29,7 +29,7 @@ $user = \OCP\User::getUser();
$proxyStatus = \OC_FileProxy::$enabled;
\OC_FileProxy::$enabled = false;
-$keyPath = '/' . $user . '/files_encryption/'.$user.'.private.key';
+$keyPath = '/' . $user . '/files_encryption/' . $user . '.private.key';
$encryptedKey = $view->file_get_contents($keyPath);
$decryptedKey = \OCA\Encryption\Crypt::decryptPrivateKey($encryptedKey, $oldPassword);