Skip to content

Commit

Permalink
Adding Rack::Response in args of the authentification method call.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Sep 22, 2012
1 parent ccfdaf3 commit 08ce53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/auth/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def challenge
end

def valid?(auth)
@authenticator.call(*auth.credentials)
@authenticator.call(*auth.credentials, *auth.request)
end

class Request < Auth::AbstractRequest
Expand Down

0 comments on commit 08ce53f

Please sign in to comment.