diff options
author | Mario <mario@mariovavti.com> | 2021-06-17 07:30:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-06-17 07:30:57 +0000 |
commit | 0f8e4e4eed5be31a3297af617ba25e79109ce694 (patch) | |
tree | 754a5fa37d1084c2b2cce8c78fb662043d84ea1f /view | |
parent | b5a8ca6ef72366d355c99702f0a775ccc36734d5 (diff) | |
parent | 2c198ed89ac1821b4483db7942b737b63858a574 (diff) | |
download | volse-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
Diffstat (limited to 'view')
-rw-r--r-- | view/js/mod_register.js | 2 |
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')); |