finetuning the server side email check
This commit is contained in:
@@ -12,7 +12,7 @@ function checkEMail(theEmailAddress){
|
||||
data: { "mailAddress" : theEmailAddress},
|
||||
success:function(msg,jqXHR,status) {
|
||||
console.log("send-success method mailcheck ",msg,jqXHR,status);
|
||||
if (msg.status != "ok") {
|
||||
if (msg.status === "ok") {
|
||||
def.resolve();
|
||||
} else {
|
||||
def.reject(msg);
|
||||
|
||||
Reference in New Issue
Block a user