mirror of https://github.com/zulip/zulip.git
Fix wtf control flow in signup.js
(imported from commit d4cb46cda138c542884e0373b4498b4f7890ef51)
This commit is contained in:
parent
5a6247288a
commit
d18a79ad07
|
@ -8,7 +8,6 @@ $.validator.addMethod("fromDomain", function (value, element, param) {
|
|||
console.log(value);
|
||||
var splitted = value.split("@");
|
||||
var tld = splitted[splitted.length - 1];
|
||||
return false;
|
||||
return $.inArray(tld, tld_list) !== -1;
|
||||
},
|
||||
"Please use your company email address to sign up. Otherwise, we won’t be able to connect you with your coworkers.");
|
||||
|
|
Loading…
Reference in New Issue