Skip to content

Commit b89aa16

Browse files
authored
use $request->request->get instate of overall get
1 parent 09c8625 commit b89aa16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/authenticator/Security52LoginFormAuthenticator.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function authenticate(Request $request): PassportInterface
3939
new UserBadge($<?= $username_field_var ?>),
4040
new PasswordCredentials($request->request->get('password', '')),
4141
[
42-
new CsrfTokenBadge('authenticate', $request->get('_csrf_token')),
42+
new CsrfTokenBadge('authenticate', $request->request->get('_csrf_token')),
4343
]
4444
);
4545
}

0 commit comments

Comments
 (0)