Skip to content

Commit 5b83d56

Browse files
committed
debug
1 parent ce227a1 commit 5b83d56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ public function authenticate(Request $request): Passport
8282
{
8383
$credentials = $this->getCredentials($request);
8484

85+
$userBadge = new UserBadge($credentials['username'], $this->userProvider->loadUserByIdentifier(...));
86+
8587
$passport = new Passport(
86-
new UserBadge($credentials['username'], $this->userProvider->loadUserByIdentifier(...)),
88+
$userBadge,
8789
new PasswordCredentials($credentials['password']),
8890
[new RememberMeBadge()]
8991
);

0 commit comments

Comments
 (0)