Completed
Push — master ( 5d5455...35e057 )
by Ankit
02:15
created
source/Login.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
 				return json_encode($this->error);
64 64
 			}
65 65
 			return json_encode(["Error" => "You are not registered, ".$this->connect->error ]);
66
-		}
67
-		else
66
+		} else
68 67
 		{
69 68
 			return json_encode($this->error);
70 69
 		}
Please login to merge, or discard this patch.
source/Register.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 		if(filter_var($email, FILTER_VALIDATE_EMAIL) == false)
34 34
 		{
35 35
 			$this->onError("email", " *Enter correct Email address");
36
-		}
37
-		else if($this->obValidate->validateEmailInDb($email) === 1)
36
+		} else if($this->obValidate->validateEmailInDb($email) === 1)
38 37
 		{
39 38
 			$this->onError("email", " *Email is already registered");
40 39
 		}
Please login to merge, or discard this patch.
ajax/validate_login.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 	$login = $loginField->login;
11 11
 	$password = $loginField->password;
12 12
 	$obLogin = new Login();
13
-    $data = array(
14
-        'login' => $login,
15
-        'passLogin' => $password
16
-    );
13
+	$data = array(
14
+		'login' => $login,
15
+		'passLogin' => $password
16
+	);
17 17
 	$result = $obLogin->authLogin($data);
18 18
 	if(isset($result))
19 19
 		echo $result;
Please login to merge, or discard this patch.