Browse Source

Merge pull request #4036 from pixelfed/staging

Staging
daniel 2 years ago
parent
commit
edfc1e4b57

+ 1 - 0
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)

BIN
public/js/admin_invite.js


BIN
public/mix-manifest.json


+ 1 - 1
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() {