| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function loginAction() |
||
| 10 | { |
||
| 11 | $authenticationUtils = $this->get('security.authentication_utils'); |
||
| 12 | |||
| 13 | $form = $this->createForm(LoginFormType::class, [ |
||
| 14 | 'username' => $authenticationUtils->getLastUsername(), |
||
| 15 | ], []); |
||
| 16 | |||
| 17 | return $this->render('auth/login.html.twig', [ |
||
| 18 | 'form' => $form->createView(), |
||
| 19 | 'error' => $authenticationUtils->getLastAuthenticationError(), |
||
| 20 | ]); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |