Skip to content

Commit

Permalink
Merge pull request #13 from NethServer/dev6853
Browse files Browse the repository at this point in the history
Update mail_host format and add pattern validation NethServer/dev#6853
  • Loading branch information
stephdl authored Feb 22, 2024
2 parents 7c57361 + 55abfb9 commit bb002c7
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 @@ -19,7 +19,8 @@
"mail_host": {
"type": "string",
"description": "Host name for the remote account",
"format": "idn-hostname",
"format": "hostname",
"pattern": "\\.",
"title": "mail_host"
},
"mail_server": {
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 @@ -31,7 +31,9 @@
"instance_configuration": "Configure Imapsync",
"choose_mail_server": "Select a domain",
"choose_the_mail_server_to_use": "Choose the mail server from which to retrieve users mailboxes",
"mail_server_is_not_valid": "This mail server is not valid"
"mail_server_is_not_valid": "This mail server is not valid",
"mail_host_pattern": "Must be a valid fully qualified domain name",
"mail_host_format": "Must be a valid fully qualified domain name"
},
"tasks": {
"no_tasks": "No tasks configured",
Expand Down

0 comments on commit bb002c7

Please sign in to comment.