Skip to content

Commit 25012da

Browse files
apfelboxwouterj
authored andcommitted
Fix invalid variable name
1 parent e9d169c commit 25012da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ This requires you to implement several methods::
168168
// The "username" in this case is the apiToken, see the key `property`
169169
// of `your_db_provider` in `security.yaml`.
170170
// If this returns a user, checkCredentials() is called next:
171-
return $userProvider->loadUserByUsername($apiToken);
171+
return $userProvider->loadUserByUsername($credentials);
172172
}
173173

174174
public function checkCredentials($credentials, UserInterface $user)

0 commit comments

Comments
 (0)