We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d4197 commit 51155cbCopy full SHA for 51155cb
security/access_token.rst
@@ -94,7 +94,7 @@ This handler must implement
94
public function getUserBadgeFrom(string $accessToken): UserBadge
95
{
96
// e.g. query the "access token" database to search for this token
97
- $accessToken = $this->repository->findOneByValue($token);
+ $accessToken = $this->repository->findOneByValue($accessToken);
98
if (null === $accessToken || !$accessToken->isValid()) {
99
throw new BadCredentialsException('Invalid credentials.');
100
}
0 commit comments