Skip to content

Commit

Permalink
fix(daml-on-postgres): allow zero length for password fields
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
  • Loading branch information
scealiontach committed Aug 26, 2020
1 parent 1280c22 commit cfbfefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/daml-on-postgres/sextant/validators.js
Expand Up @@ -3,7 +3,7 @@ const dns1123 = [
'a DNS-1123 label must consist of lower case alphanumeric characters or \'-\', and must start and end with an alphanumeric character',
]

const password = ['matches', '^\\S+$', 'Cannot contain spaces']
const password = ['matches', '^\\S*$', 'Cannot contain spaces']

module.exports = {
dns1123,
Expand Down

0 comments on commit cfbfefb

Please sign in to comment.