8000 Update guard_authentication.rst · symfony/symfony-docs@e237579 · GitHub
[go: up one dir, main page]

Skip to content

Commit e237579

Browse files
Update guard_authentication.rst
Minor clarification
1 parent 8281616 commit e237579

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security/guard_authentication.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ This requires you to implement several methods::
118118

119119
public function checkCredentials($credentials, UserInterface $user)
120120
{
121-
// check credentials - e.g. make sure the password is valid
122-
// no credential check is needed in this case
121+
// Check credentials - e.g. make sure the password is valid.
122+
// In case of an API token, no credential check is needed.
123123

124-
// return true to cause authentication success
124+
// Return `true` to cause authentication success
125125
return true;
126126
}
127127

0 commit comments

Comments
 (0)
0