mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Added new setup endpoint
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user