Merge pull request #3937 from nextcloud/downstream-27234

fix typo in sftp public key
This commit is contained in:
Morris Jobke 2017-03-21 13:18:19 -06:00 committed by GitHub
commit d2b1b02244
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}