8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@7be1e0e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7be1e0e

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update guard_authentication.rst
2 parents d76fc61 + 64004cc commit 7be1e0e

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
@@ -119,10 +119,10 @@ This requires you to implement several methods::
119119

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

125-
// return true to cause authentication success
125+
// Return `true` to cause authentication success
126126
return true;
127127
}
128128

0 commit comments

Comments
 (0)
0