Permalink
Browse files

Merge pull request #435 from stranbird/master

fix a tsina session keys bug
  • Loading branch information...
2 parents 7861fe3 + 2745fa6 commit f5c68342bba809e8cd350bb5680b37bac7909d7d @sferik sferik committed Aug 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 oa-oauth/lib/omniauth/strategies/oauth/tsina.rb
@@ -68,8 +68,8 @@ def request_phase
# 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

0 comments on commit f5c6834

Please sign in to comment.