projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d3277d
)
relax constraint for email verification
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Thu, 7 Jan 2016 09:38:16 +0000
(10:38 +0100)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Thu, 7 Jan 2016 09:38:16 +0000
(10:38 +0100)
web/room.js
patch
|
blob
|
history
diff --git
a/web/room.js
b/web/room.js
index
38a3d2a
..
26d78e9
100644
(file)
--- a/
web/room.js
+++ b/
web/room.js
@@
-639,7
+639,7
@@
function mesgtoadm_formtext_hilite(form)
function j_check_email(email, ret)
{
- if (/^\w+([\.-]
?\w+)*@\w+([\.-]?
\w+)*(\.\w{2,10})+$/.test(email))
+ if (/^\w+([\.-]
*\w+)*@\w+([\.-]*
\w+)*(\.\w{2,10})+$/.test(email))
return (true);
ret.ret += (g_lang == 'en' ? "Invalid email address. " :
"Indirizzo e-mail non valido.");