upd: registration
- added dd return if fail to register
This commit is contained in:
@@ -50,6 +50,9 @@ class RegistrationController extends AbstractController
|
|||||||
|
|
||||||
return $this->redirectToRoute('app_home');
|
return $this->redirectToRoute('app_home');
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
dd($form);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->render('registration/register.html.twig', [
|
return $this->render('registration/register.html.twig', [
|
||||||
'registrationForm' => $form,
|
'registrationForm' => $form,
|
||||||
|
Reference in New Issue
Block a user