[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 c26ffe09b6
commit 3ba46a9a60
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

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()];
}
}