forked from GNUsocial/gnu-social
[SECURITY][CONTROLLER] Remove unreachable code from the Security controller
This commit is contained in:
parent
107351a6b5
commit
81e45e3ace
@ -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