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

Merge pull request #435 from stranbird/master

fix a tsina session keys bug
This commit is contained in:
Erik Michaels-Ober 2011-08-22 20:45:17 -07:00
commit f5c68342bb

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