We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e472fc3 commit 89bc2dbCopy full SHA for 89bc2db
doctrine/registration_form.rst
@@ -96,7 +96,7 @@ The form class for the registration form will look something like this::
96
new Length([
97
'min' => 6,
98
'minMessage' => 'Your password should be at least {{ limit }} characters',
99
- 'max' => 4096
+ 'max' => 4096,
100
]),
101
],
102
])
@@ -170,7 +170,7 @@ saves the user::
170
171
// do anything else you need here, like send an email
172
173
- return $this->redirect('app_homepage');
+ return $this->redirectToRoute('app_homepage');
174
}
175
176
return $this->render('registration/register.html.twig', [
0 commit comments