fix register page not updating html on error
see https://symfonycasts.com/screencast/turbo/forms
This commit is contained in:
parent
14b3f1b320
commit
05c19e6d4f
@ -44,6 +44,6 @@ class RegistrationController extends AbstractController
|
|||||||
|
|
||||||
return $this->render('registration/register.html.twig', [
|
return $this->render('registration/register.html.twig', [
|
||||||
'registrationForm' => $form->createView(),
|
'registrationForm' => $form->createView(),
|
||||||
]);
|
], new Response(null, 422));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user