mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Use renderForm for proper return codes for turbo
This commit is contained in:
parent
3a21c18ba9
commit
ae24fb5eb1
7 changed files with 29 additions and 29 deletions
|
@ -131,8 +131,8 @@ class SecurityController extends AbstractController
|
|||
return $this->redirectToRoute('login');
|
||||
}
|
||||
|
||||
return $this->render('security/pw_reset_request.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
return $this->renderForm('security/pw_reset_request.html.twig', [
|
||||
'form' => $form,
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -203,8 +203,8 @@ class SecurityController extends AbstractController
|
|||
}
|
||||
}
|
||||
|
||||
return $this->render('security/pw_reset_new_pw.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
return $this->renderForm('security/pw_reset_new_pw.html.twig', [
|
||||
'form' => $form,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue