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 e9d169c commit 25012daCopy full SHA for 25012da
security/guard_authentication.rst
@@ -168,7 +168,7 @@ This requires you to implement several methods::
168
// The "username" in this case is the apiToken, see the key `property`
169
// of `your_db_provider` in `security.yaml`.
170
// If this returns a user, checkCredentials() is called next:
171
- return $userProvider->loadUserByUsername($apiToken);
+ return $userProvider->loadUserByUsername($credentials);
172
}
173
174
public function checkCredentials($credentials, UserInterface $user)
0 commit comments