From 2aea77d3d2a8cb78879400009151cc1cf8ec174a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 29 Dec 2022 04:46:18 -0700 Subject: [PATCH 1/3] 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() { From 63d7a57e1095a20fe6944fc32f34bddd22600f62 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 29 Dec 2022 04:46:53 -0700 Subject: [PATCH 2/3] Update compiled assets --- public/js/admin_invite.js | Bin 15730 -> 15743 bytes public/mix-manifest.json | Bin 4037 -> 4037 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/admin_invite.js b/public/js/admin_invite.js index 56df5a9176c6b9d6e5fef544b18ce566eac9aa95..8cc5b435165a1db1bc083488cede572748226fa2 100644 GIT binary patch delta 186 zcmexV^}lMvcQzeI-KbdY=tSKrAj3e{GG0$NR@(uM59P*g7Gl?CW;Qdo*zCY{OPkrq z&}_0Jm)hie))Jdz%r-K!T9_G_nnQ(nCc9WEf|X=iO=dMUH8(b&%xLY)VrXJ$Iyu<- oH&n=xOODUFEU`!-(Kb`V9B8!R#YC|0}lUj%9MBOSR{$^!%ZDwX81H;XMT(`7Y3=PdqCMVj+ zO?I#n*_>dumzmYl%m^-I3X!j{n#^iqXkcM5S-{$t)x^@=$Y^q+^>3(HqKyU%&^*J* T|7;xCbfB^}>QICJ*)#$GXml&v diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 4f028e34e41f5be02849218cb63c49294753a3b7..12e19cf7dc701c35c6099e04c8139c1e405fd1ee 100644 GIT binary patch delta 45 zcmX>qe^h?MM|K6XWYe@%!_;I0^CXkBWXt3fla$oNG-Ffaq$HEXq$Kmrf*f1e0dgG= ABLDyZ delta 45 zcmX>qe^h?MM|Oq8H1kArb7Ld(L=#gJOVh+ub2DQTLvteoLvwS3L=&^kf*f1e0ZN<< A>i_@% From d2c0caa21296b33cafd9a78ae94464dccf4cb54f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 29 Dec 2022 04:47:01 -0700 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5efbea1..fcf331cef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -73,6 +73,7 @@ - Update StatusDelete pipeline, dispatch async ([257c0949](https://github.com/pixelfed/pixelfed/commit/257c0949)) - Update lexer/extractor to handle banned hashtags ([909a8a5a](https://github.com/pixelfed/pixelfed/commit/909a8a5a)) - Update FederationController, fix double lock bug ([9fcccca9](https://github.com/pixelfed/pixelfed/commit/9fcccca9)) +- Update AdminInvite component, fix email regex ([2aea77d3](https://github.com/pixelfed/pixelfed/commit/2aea77d3)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.4 (2022-10-04)](https://github.com/pixelfed/pixelfed/compare/v0.11.3...v0.11.4)