Skip to content

Commit d3d7bc2

Browse files
committed
Document the changes to checkCredentials()
1 parent d60f859 commit d3d7bc2

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)