Update AdminInvite component, fix email regex

This commit is contained in:
Daniel Supernault 2022-12-29 04:46:18 -07:00
parent 48485d44e7
commit 2aea77d3d2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -372,7 +372,7 @@
return false; return false;
} }
return /^[a-z0-9.]{1,64}@[a-z0-9.]{1,64}$/i.test(this.form.email); return /^[a-zA-Z]+[a-zA-Z0-9_.-]+@[a-zA-Z0-9_.-]+[a-zA-Z]$/i.test(this.form.email);
}, },
handleRegistration() { handleRegistration() {