[SECURITY][CONTROLLER] Remove unreachable code from the Security controller

This commit is contained in:
Hugo Sales 2020-07-25 14:45:12 +00:00 committed by Hugo Sales
parent 107351a6b5
commit 81e45e3ace
1 changed files with 0 additions and 2 deletions

View File

@ -115,7 +115,5 @@ class Security extends Controller
'_template' => 'security/register.html.twig',
'registration_form' => $form->createView(),
];
return ['_template' => 'security/register.html.twig', 'form' => $form->createView()];
}
}