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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy