summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-03-21 13:18:19 -0600
committerGitHub <noreply@github.com>2017-03-21 13:18:19 -0600
commitd2b1b0224437e521094dd251bc84bc93d1e338b1 (patch)
treefb7030a3436db7c1886d3f65080995ef19e1d064
parenta85d7e6f98683ddc58205c160af3a32aa2f12348 (diff)
parent718d1f3f15ebe7429c7849ed41b0565ac0cda805 (diff)
downloadnextcloud-server-d2b1b0224437e521094dd251bc84bc93d1e338b1.tar.gz
nextcloud-server-d2b1b0224437e521094dd251bc84bc93d1e338b1.zip
Merge pull request #3937 from nextcloud/downstream-27234
fix typo in sftp public key
-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;
}