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 ba53ff2 commit f00344aCopy full SHA for f00344a
security/form_login_setup.rst
@@ -295,7 +295,7 @@ be redirected after success:
295
296
- throw new \Exception('TODO: provide a valid redirect inside '.__FILE__);
297
+ // redirect to some "app_homepage" route - of wherever you want
298
- + return new RedirectResponse($this->router->generate('app_homepage'));
+ + return new RedirectResponse($this->urlGenerator->generate('app_homepage'));
299
}
300
301
Unless you have any other TODOs in that file, that's it! If you're loading users
0 commit comments