mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
Merge branch 'master' into my-comment-reactions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export default {
|
||||
email: (email) => (/^([A-Za-z0-9_\-\.\+])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(email)),
|
||||
email: (email) => (/^.+@.+\..+$/.test(email)),
|
||||
password: (pass) => (/^(?=.{8,}).*$/.test(pass)),
|
||||
confirmPassword: () => true,
|
||||
username: (username) => (/^[a-zA-Z0-9_]+$/.test(username)),
|
||||
|
||||
Reference in New Issue
Block a user