Skip to content

Commit

Permalink
Merge pull request #47923 from nextcloud/backport/47527/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(files_external): Handling in SFTP UI for custom ports
  • Loading branch information
susnux authored Sep 14, 2024
2 parents bce59cb + 600fc1d commit 7537b5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/files_external/lib/Lib/Backend/SFTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public function __construct(IL10N $l, Password $legacyAuth) {
->setText($l->t('SFTP'))
->addParameters([
new DefinitionParameter('host', $l->t('Host')),
(new DefinitionParameter('port', $l->t('Port')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
(new DefinitionParameter('root', $l->t('Root')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
])
Expand Down

0 comments on commit 7537b5b

Please sign in to comment.