Skip to content

Commit

Permalink
fix: custom port handling in UI for SFTP
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored and backportbot[bot] committed Sep 12, 2024
1 parent 873a4d0 commit 54f3360
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 @@ -37,6 +37,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 54f3360

Please sign in to comment.