Commit e7d8e4f4 by ivan Lan

Fix the default value of token key

parent a2031b42
......@@ -104,7 +104,7 @@ module RailsApiAuthentication
attr_writer :token_key
def token_key
@token_key ||= self.to_s
@token_key ||= self.to_s.upcase
end
def register(name, password, attrs={})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment