Added new setup endpoint

This commit is contained in:
Wyatt Johnson
2017-02-07 10:02:23 -07:00
parent f47638ae07
commit cdc81c4fc5
4 changed files with 53 additions and 27 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ export default {
password: pass => (/^(?=.{8,}).*$/.test(pass)),
confirmPassword: () => true,
displayName: displayName => (/^[a-zA-Z0-9_]+$/.test(displayName)),
organizationName: org => (/^[a-zA-Z0-9_]+$/).test(org)
organizationName: org => (/^[a-zA-Z0-9_ ]+$/).test(org)
};