Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | public function login(AuthenticationUtils $authenticationUtils) |
||
16 | { |
||
17 | $error = $authenticationUtils->getLastAuthenticationError(); |
||
18 | $lastUsername = $authenticationUtils->getLastUsername(); |
||
19 | $form = $this->createForm(UserLoginType::class); |
||
20 | |||
21 | return $this->render( |
||
22 | '@KunstmaanAdmin/Security/login_cms.html.twig', |
||
23 | [ |
||
24 | 'form' => $form->createView(), |
||
25 | 'last_username' => $lastUsername, |
||
26 | 'error' => $error, |
||
27 | ] |
||
28 | ); |
||
29 | } |
||
30 | |||
39 |