Skip to content

Commit b33db86

Browse files
committed
minor #938 [make:auth] use $request->request->get instate of overall get (gimler)
This PR was merged into the 1.0-dev branch. Discussion ---------- [make:auth] use $request->request->get instate of overall get Commits ------- b89aa16 use $request->request->get instate of overall get
2 parents 13e8c20 + b89aa16 commit b33db86

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)