Skip to content

Commit

Permalink
Merge pull request #38 from NethServer/dev6853
Browse files Browse the repository at this point in the history
Update hostname validation and messages NethServer/dev#6853
  • Loading branch information
stephdl authored Feb 22, 2024
2 parents aff69f4 + dafce7c commit 4f72748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion imageroot/actions/configure-module/validate-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"hostname": {
"type": "string",
"description": "Host name for the application, like 'ejabberd.org'",
"format": "idn-hostname"
"format": "hostname",
"pattern": "\\."
},
"lets_encrypt": {
"type": "boolean",
Expand Down
4 changes: 3 additions & 1 deletion ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
"save": "Save",
"specify_duration": "Specify duration",
"days": "Days",
"never": "Never clean"
"never": "Never clean",
"hostname_pattern": "Must be a valid fully qualified domain name",
"hostname_format": "Must be a valid fully qualified domain name"
},
"about": {
"title": "About"
Expand Down

0 comments on commit 4f72748

Please sign in to comment.