Commit 739cf57f by Jansa Jose

social login

parent ae5d7bb1
......@@ -2869,7 +2869,16 @@
if(empty($custReg)){
echo json_encode($respArr);exit;
}
if($custReg == '1' || $custReg == '2'){
if($custReg == '2'){
$respArr['status'] = '0';
$respArr['message'] = 'Email Id Already Exist';
echo json_encode($respArr);exit;
} else if($custReg == '3'){
$respArr['status'] = '0';
$respArr['message'] = 'Phone Number Already Exist';
echo json_encode($respArr);exit;
}
else if($custReg == '1'){
$respArr = $this->getUserDetails($postData);
}
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment