We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a030f00 commit e7ed048Copy full SHA for e7ed048
lib/kracken/controllers/token_authenticatable.rb
@@ -14,7 +14,7 @@ def self.included(base)
14
end
15
16
# NOTE: Monkey-patch until this is merged into the gem
17
- def request_http_token_authentication(realm = 'Application')
+ def request_http_token_authentication(realm = 'Application', message = nil)
18
headers["WWW-Authenticate"] = %(Token realm="#{realm.gsub(/"/, "")}")
19
raise TokenUnauthorized, "Invalid Credentials"
20
0 commit comments