@@ -43,8 +43,9 @@ |
||
| 43 | 43 | public function afterSocLogin() |
| 44 | 44 | { |
| 45 | 45 | $user = $this->getUser(); |
| 46 | - if (!$user->getPassword()) |
|
| 47 | - return $this->redirectToRoute('update_profile'); |
|
| 46 | + if (!$user->getPassword()) { |
|
| 47 | + return $this->redirectToRoute('update_profile'); |
|
| 48 | + } |
|
| 48 | 49 | |
| 49 | 50 | return $this->redirectToRoute('account'); |
| 50 | 51 | } |