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:
commit
f5c68342bb
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ module OmniAuth
|
||||||
|
|
||||||
# MonkeyPath to symbolize tina parameters
|
# MonkeyPath to symbolize tina parameters
|
||||||
def callback_phase
|
def callback_phase
|
||||||
session[:oauth].symbolize_keys!
|
session[:oauth].stringify_keys!
|
||||||
session[:oauth][name.to_sym].symbolize_keys! if session[:oauth][name.to_sym]
|
session[:oauth][name.to_s].stringify_keys! if session[:oauth][name.to_s]
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue