[liv.field-manager] fix error code

This commit is contained in:
xdrm-brackets 2018-03-29 01:27:08 +02:00
parent 236b03775e
commit d48d865be6
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ FieldValidator.pushFormat('basic-name', (input) => {
/* (3) URL name */
FieldValidator.pushFormat('url-name', (input) => {
return typeof input === 'string' && /^[a-z0-9_-]{3,20}$/i.test(input);
}, '3 characters required: letters, numbers, dots, hyphens');
}, '3 characters required: letters, numbers, hyphens');
/* (4) Password */
FieldValidator.pushFormat('password', (input) => {