@@ -35,13 +35,13 @@ |
||
| 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 | |