fix register page not updating html on error

see https://symfonycasts.com/screencast/turbo/forms
This commit is contained in:
Thomas Rubini 2024-02-21 18:38:08 +01:00
parent 14b3f1b320
commit 05c19e6d4f
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -44,6 +44,6 @@ class RegistrationController extends AbstractController
return $this->render('registration/register.html.twig', [
'registrationForm' => $form->createView(),
]);
], new Response(null, 422));
}
}