Removes upper case from name validation

This commit is contained in:
Akshay Nair committed 2020-10-12 00:29:57 +05:30
1 parent 512c20ac9f
commit 77f0979100
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ const validateDomainData = validate({
R.equals('@'),
R.allPass([
R.compose(between(2, 100), R.length),
str => str && str.match(/^[A-Za-z0-9\-]+$/ig),
str => str && str.match(/^[a-z0-9\-]+$/ig),
])
]),
},