Skip to content

Commit

Permalink
Merge pull request #47527 from nextcloud/fix-sftp-custom-port-ui
Browse files Browse the repository at this point in the history
fix(files_external): Handling in SFTP UI for custom ports
  • Loading branch information
joshtrichards authored Sep 12, 2024
2 parents b6c2866 + 2e73932 commit 56c744d
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 56c744d

Please sign in to comment.