summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2019-01-22 23:17:02 -0800
committerKasra Bigdeli <[email protected]>2019-01-22 23:17:02 -0800
commit6c0c657aca9edbf1f8d545e2e6fdde5640571a7e (patch)
treee87af1824b79cff759bbec482c97f836d7c8cc22
parent08bc5cc7de8810bb82b2b307abd240b53b6d0a65 (diff)
downloadcaprover-one-click-apps-6c0c657aca9edbf1f8d545e2e6fdde5640571a7e.tar.gz
caprover-one-click-apps-6c0c657aca9edbf1f8d545e2e6fdde5640571a7e.zip
MongoDB password "can" be anything with an least one non whitespace character
-rw-r--r--public/v1/apps/mongodb.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/v1/apps/mongodb.json b/public/v1/apps/mongodb.json
index beb2af3..30853d2 100644
--- a/public/v1/apps/mongodb.json
+++ b/public/v1/apps/mongodb.json
@@ -40,8 +40,7 @@
{
"id": "$$cap_mongo_password",
"label": "MongoDB password",
- "description": "Only use alphanumeric chars.",
- "validRegex": "/^([a-zA-Z0-9])+$/"
+ "validRegex": "/^\\s*\\S.*$/"
}
]