diff options
| author | Kasra Bigdeli <[email protected]> | 2019-01-22 22:37:27 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-01-22 22:37:27 -0800 |
| commit | 949aa44bb10b9ee22972eefaed3b70c461d90862 (patch) | |
| tree | 0d99e8172f3e0da62d8a2d8dd7d2104a75aa55be | |
| parent | ee876c6b65532d1931579ddb78c2fc129cc9478d (diff) | |
| parent | 60c42c6655c1733414c6f33a2c54bbe95fa2734c (diff) | |
| download | caprover-one-click-apps-949aa44bb10b9ee22972eefaed3b70c461d90862.tar.gz caprover-one-click-apps-949aa44bb10b9ee22972eefaed3b70c461d90862.zip | |
Merge pull request #1 from iamrommel/master
Update mongodb.json
| -rw-r--r-- | public/v1/apps/mongodb.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/v1/apps/mongodb.json b/public/v1/apps/mongodb.json index c6b05e0..6990d3f 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": "/^([a-zA-Z0-9])+$/" + "validRegex": "/^(\d+\.)?(\d+\.)?(\*|\d+)$" }, { "id": "$$cap_mongo_username", @@ -40,9 +40,9 @@ { "id": "$$cap_mongo_password", "label": "MongoDB password", - "description": "Only use alphanumeric chars.", - "validRegex": "/^([a-zA-Z0-9])+$/" + "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,})" } ] -}
\ No newline at end of file +} |
