Skip to content

Commit a6bfa7d

Browse files
committed
minor #14410 Fix invalid variable name (apfelbox)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead. Discussion ---------- Fix invalid variable name <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Just a small typo Commits ------- 25012da Fix invalid variable name
2 parents e9d169c + 25012da commit a6bfa7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

+1-1
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)