Skip to content

Commit 4e50fbb

Browse files
authored
Merge pull request #47922 from nextcloud/backport/47527/stable29
[stable29] fix(files_external): Handling in SFTP UI for custom ports
2 parents a73e38b + dc65c37 commit 4e50fbb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • apps/files_external/lib/Lib/Backend

apps/files_external/lib/Lib/Backend/SFTP.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function __construct(IL10N $l, Password $legacyAuth) {
3737
->setText($l->t('SFTP'))
3838
->addParameters([
3939
new DefinitionParameter('host', $l->t('Host')),
40+
(new DefinitionParameter('port', $l->t('Port')))
41+
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
4042
(new DefinitionParameter('root', $l->t('Root')))
4143
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
4244
])

0 commit comments

Comments
 (0)