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 db71567 + a6bfa7d commit f3d595dCopy full SHA for f3d595d
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