Skip to content

Commit 8c77455

Browse files
authored
Merge pull request rails#51927 from collimarco/patch-1
Clarify documentation of authenticate_or_request_with_http_token [fix rails#51908] [ci skip]
2 parents aa0d805 + 5773309 commit 8c77455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/http_authentication.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ module Token
431431
module ControllerMethods
432432
# Authenticate using an HTTP Bearer token, or otherwise render an HTTP header
433433
# requesting the client to send a Bearer token. For the authentication to be
434-
# considered successful, `login_procedure` should return a non-nil value.
434+
# considered successful, `login_procedure` must not return a false value.
435435
# Typically, the authenticated user is returned.
436436
#
437437
# See ActionController::HttpAuthentication::Token for example usage.

0 commit comments

Comments
 (0)