MongoDB password "can" be anything with an least one non whitespace character

This commit is contained in:
Kasra Bigdeli 2019-01-22 23:17:02 -08:00
parent 08bc5cc7de
commit 6c0c657aca
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@
{ {
"id": "$$cap_mongo_password", "id": "$$cap_mongo_password",
"label": "MongoDB password", "label": "MongoDB password",
"description": "Only use alphanumeric chars.", "validRegex": "/^\\s*\\S.*$/"
"validRegex": "/^([a-zA-Z0-9])+$/"
} }
] ]