From 2aea77d3d2a8cb78879400009151cc1cf8ec174a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 29 Dec 2022 04:46:18 -0700 Subject: [PATCH] Update AdminInvite component, fix email regex --- resources/assets/components/invite/AdminInvite.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {