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 5fbd798 commit 6174f43Copy full SHA for 6174f43
book/security.rst
@@ -414,6 +414,7 @@ Next, create the controller that will display the login form:
414
$error = $request->attributes->get(SecurityContext::AUTHENTICATION_ERROR);
415
} else {
416
$error = $session->get(SecurityContext::AUTHENTICATION_ERROR);
417
+ $session->remove(SecurityContext::AUTHENTICATION_ERROR);
418
}
419
420
return $this->render('AcmeSecurityBundle:Security:login.html.twig', array(
0 commit comments