Skip to content

Commit 5f5177e

Browse files
authored
Update LoginTokenAuthenticator.php
1 parent 864b766 commit 5f5177e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Security/Authenticator/LoginTokenAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function authenticate(Request $request): Passport
5757
return new SelfValidatingPassport(
5858
new UserBadge(
5959
$username,
60-
fn (string $username) => $this->userRepository->findOneBy(['usename' => $username])
60+
fn (string $username) => $this->userRepository->findOneBy(['username' => $username])
6161
)
6262
);
6363
}

0 commit comments

Comments
 (0)