diff --git a/resources/assets/components/invite/AdminInvite.vue b/resources/assets/components/invite/AdminInvite.vue index 38311c771..0f4ee5782 100644 --- a/resources/assets/components/invite/AdminInvite.vue +++ b/resources/assets/components/invite/AdminInvite.vue @@ -372,7 +372,7 @@ 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() {