Skip to content

Commit 89bc2db

Browse files
committed
Minor fixes
1 parent e472fc3 commit 89bc2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine/registration_form.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The form class for the registration form will look something like this::
9696
new Length([
9797
'min' => 6,
9898
'minMessage' => 'Your password should be at least {{ limit }} characters',
99-
'max' => 4096
99+
'max' => 4096,
100100
]),
101101
],
102102
])
@@ -170,7 +170,7 @@ saves the user::
170170

171171
// do anything else you need here, like send an email
172172

173-
return $this->redirect('app_homepage');
173+
return $this->redirectToRoute('app_homepage');
174174
}
175175

176176
return $this->render('registration/register.html.twig', [

0 commit comments

Comments
 (0)