aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorMartin <martin.mattel@diemattels.at>2017-02-23 17:29:04 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-03-19 22:44:09 -0600
commit718d1f3f15ebe7429c7849ed41b0565ac0cda805 (patch)
tree84d276bb54b11b6b3de0fece5cf7d0bc739e8c15 /apps/files_external
parent528a903a7b23ea628e6ec2fc9a221821297c0bec (diff)
downloadnextcloud-server-718d1f3f15ebe7429c7849ed41b0565ac0cda805.tar.gz
nextcloud-server-718d1f3f15ebe7429c7849ed41b0565ac0cda805.zip
fix typo in sftp public key
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Controller/AjaxController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Controller/AjaxController.php b/apps/files_external/lib/Controller/AjaxController.php
index 0bee1ce9778..f12f8450973 100644
--- a/apps/files_external/lib/Controller/AjaxController.php
+++ b/apps/files_external/lib/Controller/AjaxController.php
@@ -73,7 +73,7 @@ class AjaxController extends Controller {
private function generateSshKeys() {
$key = $this->rsaMechanism->createKey();
// Replace the placeholder label with a more meaningful one
- $key['publicKey'] = str_replace('phpseclib-generated-key', gethostname(), $key['publickey']);
+ $key['publickey'] = str_replace('phpseclib-generated-key', gethostname(), $key['publickey']);
return $key;
}