turbo #4

Merged
tracer merged 17 commits from turbo into master 2022-11-15 17:19:50 +01:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit 481849b530 - Show all commits

View File

@ -92,8 +92,8 @@ class SecurityController extends AbstractController
return $this->render(view: '@default/security/registration_finished.html.twig'); return $this->render(view: '@default/security/registration_finished.html.twig');
} }
return $this->render(view: '@default/security/register.html.twig', parameters: [ return $this->renderForm(view: '@default/security/register.html.twig', parameters: [
'registrationForm' => $form->createView(), 'registrationForm' => $form,
]); ]);
} }
@ -142,8 +142,8 @@ class SecurityController extends AbstractController
); );
} }
return $this->render(view: '@default/security/forgot_password.html.twig', parameters: [ return $this->renderForm(view: '@default/security/forgot_password.html.twig', parameters: [
'requestForm' => $form->createView(), 'requestForm' => $form,
]); ]);
} }
@ -220,8 +220,8 @@ class SecurityController extends AbstractController
return $this->redirectToRoute(route: 'app_main'); return $this->redirectToRoute(route: 'app_main');
} }
return $this->render(view: '@default/security/reset_password.html.twig', parameters: [ return $this->renderForm(view: '@default/security/reset_password.html.twig', parameters: [
'resetForm' => $form->createView(), 'resetForm' => $form,
]); ]);
} }