aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-17 07:30:57 +0000
committerMario <mario@mariovavti.com>2021-06-17 07:30:57 +0000
commit0f8e4e4eed5be31a3297af617ba25e79109ce694 (patch)
tree754a5fa37d1084c2b2cce8c78fb662043d84ea1f
parentb5a8ca6ef72366d355c99702f0a775ccc36734d5 (diff)
parent2c198ed89ac1821b4483db7942b737b63858a574 (diff)
downloadvolse-hubzilla-0f8e4e4eed5be31a3297af617ba25e79109ce694.tar.gz
volse-hubzilla-0f8e4e4eed5be31a3297af617ba25e79109ce694.tar.bz2
volse-hubzilla-0f8e4e4eed5be31a3297af617ba25e79109ce694.zip
Merge branch 'dev' into 'dev'
Fix email local part validation See merge request hubzilla/core!1967
-rw-r--r--view/js/mod_register.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_register.js b/view/js/mod_register.js
index 1fc5ad2fa..f54dd2570 100644
--- a/view/js/mod_register.js
+++ b/view/js/mod_register.js
@@ -3,7 +3,7 @@ $(document).ready(function() {
typeof(window.tao) == 'undefined' ? window.tao = {} : '';
tao.zar = { vsn: '2.0.0', form: {}, msg: {} };
tao.zar.patano = /^d[0-9]{5,10}$/;
- tao.zar.patema = /^[a-z0-9.-]{1,64}@[a-z0-9.-]{2,32}\.[a-z]{2,12}$/;
+ tao.zar.patema = /^[^@\s]{1,64}@[a-z0-9.-]{2,32}\.[a-z]{2,12}$/;
$('.register_date').each( function () {
var date = new Date($(this).data('utc'));