Bug 36767: Add a hint to show the new default of 22

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2024-06-14 16:12:25 +00:00 committed by Katrin Fischer
parent 09d2bdf90a
commit 2b50c3fc3c
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 3 additions and 1 deletions

View file

@ -79,7 +79,7 @@ else {
host => scalar $input->param('host'), host => scalar $input->param('host'),
username => scalar $input->param('username'), username => scalar $input->param('username'),
password => $password, password => $password,
upload_port => scalar $input->param('upload_port') || 22, upload_port => scalar $input->param('upload_port') || 22,
download_port => scalar $input->param('download_port') || 22, download_port => scalar $input->param('download_port') || 22,
vendor_id => scalar $input->param('vendor_id'), vendor_id => scalar $input->param('vendor_id'),
upload_directory => scalar $input->param('upload_directory'), upload_directory => scalar $input->param('upload_directory'),

View file

@ -163,10 +163,12 @@
<li> <li>
<label for="upload_port">Upload port: </label> <label for="upload_port">Upload port: </label>
<input type="text" name="upload_port" id="upload_port" size="20" maxlength="40" value="[% account.upload_port | html %]" /> <input type="text" name="upload_port" id="upload_port" size="20" maxlength="40" value="[% account.upload_port | html %]" />
<div class="hint">The upload port will default to 22 if not set.</div>
</li> </li>
<li> <li>
<label for="download_port">Download port: </label> <label for="download_port">Download port: </label>
<input type="text" name="download_port" id="download_port" size="20" maxlength="40" value="[% account.download_port | html %]" /> <input type="text" name="download_port" id="download_port" size="20" maxlength="40" value="[% account.download_port | html %]" />
<div class="hint">The download port will default to 22 if not set.</div>
</li> </li>
<li> <li>
<label for="download_directory">Download directory: </label> <label for="download_directory">Download directory: </label>