Skip to content

Commit 114ce6d

Browse files
committed
[#1975] Reverting one change - this isn't much longer at all, and since this code is copied-and-pasted, this is much cleaner I think
1 parent e1a2b67 commit 114ce6d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

book/security.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,7 @@ Next, create the controller that will display the login form::
424424
$session = $request->getSession();
425425

426426
// get the login error if there is one
427-
if (
428-
$request->attributes->has(SecurityContext::AUTHENTICATION_ERROR)
429-
) {
427+
if ($request->attributes->has(SecurityContext::AUTHENTICATION_ERROR)) {
430428
$error = $request->attributes->get(
431429
SecurityContext::AUTHENTICATION_ERROR
432430
);

0 commit comments

Comments
 (0)