From 3ba46a9a602c2692aeafff9c5ae3b92cb3ec44e0 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Sat, 25 Jul 2020 14:45:12 +0000 Subject: [PATCH] [SECURITY][CONTROLLER] Remove unreachable code from the Security controller --- src/Controller/Security.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Controller/Security.php b/src/Controller/Security.php index 198eb2b85b..ecce33f65a 100644 --- a/src/Controller/Security.php +++ b/src/Controller/Security.php @@ -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()]; } }