Fixed MongoDB

This commit is contained in:
Kasra Bigdeli 2019-01-22 22:45:23 -08:00
parent 949aa44bb1
commit fbc02c46d3
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
"label": "MongoDB Version", "label": "MongoDB Version",
"defaultValue": "4", "defaultValue": "4",
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/", "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
"validRegex": "/^(\d+\.)?(\d+\.)?(\*|\d+)$" "validRegex": "/^([^\\s^\\/])+$/"
}, },
{ {
"id": "$$cap_mongo_username", "id": "$$cap_mongo_username",
@ -40,8 +40,8 @@
{ {
"id": "$$cap_mongo_password", "id": "$$cap_mongo_password",
"label": "MongoDB password", "label": "MongoDB password",
"description": "Must contain at least 1 lowercase alphabetical character, at least 1 uppercase alphabetical character, at least 1 numeric character, contain at least one special character,the string must be eight characters or longer", "description": "Only use alphanumeric chars.",
"validRegex": "/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})" "validRegex": "/^([a-zA-Z0-9])+$/"
} }
] ]