summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2019-01-22 22:45:23 -0800
committerKasra Bigdeli <[email protected]>2019-01-22 22:45:23 -0800
commitfbc02c46d3feb97a31ee6a2f5774c38a160377ba (patch)
treeeda13c824d616911865b1e20d0eb41113c96d047
parent949aa44bb10b9ee22972eefaed3b70c461d90862 (diff)
downloadcaprover-one-click-apps-fbc02c46d3feb97a31ee6a2f5774c38a160377ba.tar.gz
caprover-one-click-apps-fbc02c46d3feb97a31ee6a2f5774c38a160377ba.zip
Fixed MongoDB
-rw-r--r--public/v1/apps/mongodb.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/v1/apps/mongodb.json b/public/v1/apps/mongodb.json
index 6990d3f..beb2af3 100644
--- a/public/v1/apps/mongodb.json
+++ b/public/v1/apps/mongodb.json
@@ -28,7 +28,7 @@
"label": "MongoDB Version",
"defaultValue": "4",
"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",
@@ -40,8 +40,8 @@
{
"id": "$$cap_mongo_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",
- "validRegex": "/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})"
+ "description": "Only use alphanumeric chars.",
+ "validRegex": "/^([a-zA-Z0-9])+$/"
}
]