| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function loginAction() |
||
| 28 | { |
||
| 29 | $authenticationUtils = $this->get('security.authentication_utils'); |
||
| 30 | $error = $authenticationUtils->getLastAuthenticationError(); |
||
| 31 | $lastUsername = $authenticationUtils->getLastUsername(); |
||
| 32 | |||
| 33 | return $this->render('@App/login.html.twig', array( |
||
| 34 | 'last_username' => $lastUsername, //$lastUsername, |
||
| 35 | 'error' => $error, |
||
| 36 | )); |
||
| 37 | } |
||
| 38 | |||
| 46 |