Skip to content

Commit 743d3db

Browse files
committed
minor #12234 Document the changes to checkCredentials() (derrabus)
This PR was merged into the 4.4 branch. Discussion ---------- Document the changes to checkCredentials() This PR fixes #12233 by documenting symfony/symfony#33308. Commits ------- d3d7bc2 Document the changes to checkCredentials()
2 parents eafaef8 + d3d7bc2 commit 743d3db

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
@@ -296,7 +296,7 @@ Each authenticator needs the following methods:
296296
If ``getUser()`` returns a User object, this method is called. Your job is to
297297
verify if the credentials are correct. For a login form, this is where you would
298298
check that the password is correct for the user. To pass authentication, return
299-
``true``. If you return *anything* else
299+
``true``. If you return ``false``
300300
(or throw an :ref:`AuthenticationException <guard-customize-error>`),
301301
authentication will fail.
302302

0 commit comments

Comments
 (0)