Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit114ce6d

Browse files
committed
[symfony#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 parente1a2b67 commit114ce6d

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)

[8]ページ先頭

©2009-2025 Movatter.jp