diff options
-rw-r--r-- | apps/files_external/lib/Controller/AjaxController.php | 2 |
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; } |