forked from GNUsocial/gnu-social
[SECURITY][CONTROLLER] Remove unreachable code from the Security controller
This commit is contained in:
parent
c26ffe09b6
commit
3ba46a9a60
@ -115,7 +115,5 @@ class Security extends Controller
|
|||||||
'_template' => 'security/register.html.twig',
|
'_template' => 'security/register.html.twig',
|
||||||
'registration_form' => $form->createView(),
|
'registration_form' => $form->createView(),
|
||||||
];
|
];
|
||||||
|
|
||||||
return ['_template' => 'security/register.html.twig', 'form' => $form->createView()];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user