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.
2 parents 9fbf537 + f3d595d commit 6dde99dCopy full SHA for 6dde99d
security/guard_authentication.rst
@@ -173,7 +173,7 @@ This requires you to implement several methods::
173
// The "username" in this case is the apiToken, see the key `property`
174
// of `your_db_provider` in `security.yaml`.
175
// If this returns a user, checkCredentials() is called next:
176
- return $userProvider->loadUserByUsername($apiToken);
+ return $userProvider->loadUserByUsername($credentials);
177
}
178
179
public function checkCredentials($credentials, UserInterface $user)
0 commit comments