Completed
Push — master ( 7b6ec9...a9f129 )
by Mahmoud
04:35
created
app/Containers/WebAuthentication/Services/WebAuthenticationService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
      */
36 36
     public function login($email, $password, $remember = false)
37 37
     {
38
-        if($remember){
38
+        if ($remember) {
39 39
             $remember = true;
40 40
         }
41 41
 
42 42
         $correct = $this->auth->attempt(['email' => $email, 'password' => $password], $remember);
43 43
 
44
-        if(!$correct){
44
+        if (!$correct) {
45 45
             throw new AuthenticationFailedException();
46 46
         }
47 47
 
Please login to merge, or discard this patch.