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