1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

fix tsina strategy bug

This commit is contained in:
stranbird 2011-08-23 11:40:02 +08:00
parent 7861fe3f8c
commit 2745fa6f09

View file

@ -68,8 +68,8 @@ module OmniAuth
# MonkeyPath to symbolize tina parameters
def callback_phase
session[:oauth].symbolize_keys!
session[:oauth][name.to_sym].symbolize_keys! if session[:oauth][name.to_sym]
session[:oauth].stringify_keys!
session[:oauth][name.to_s].stringify_keys! if session[:oauth][name.to_s]
super
end