diff options
author | Josh Richards <josh.t.richards@gmail.com> | 2024-08-27 09:01:12 -0400 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-12 13:37:07 +0000 |
commit | 600fc1d4df3f00e7c0c0021bc265e671870dc5da (patch) | |
tree | dabd941d3a4ab341fbb1fd00c619c5678248cca8 /apps/files_external/lib | |
parent | 8a88d8bf92cff71975539d18f90cf5d3ece0bb0f (diff) | |
download | nextcloud-server-backport/47527/stable30.tar.gz nextcloud-server-backport/47527/stable30.zip |
fix: custom port handling in UI for SFTPbackport/47527/stable30
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Lib/Backend/SFTP.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/SFTP.php b/apps/files_external/lib/Lib/Backend/SFTP.php index c3625f97087..93a5d87a5ff 100644 --- a/apps/files_external/lib/Lib/Backend/SFTP.php +++ b/apps/files_external/lib/Lib/Backend/SFTP.php @@ -20,6 +20,8 @@ class SFTP extends Backend { ->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), ]) |