Skip to content

Commit

Permalink
Merge pull request #6 from mkdynamic/patch-1
Browse files Browse the repository at this point in the history
obey skip_info? config
  • Loading branch information
timbreitkreutz committed Apr 30, 2012
2 parents c813dcb + 8e316ff commit 1a3dc75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/omniauth/strategies/yahoo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class Yahoo < OmniAuth::Strategies::OAuth
end

extra do
{
:raw_info => raw_info
}
hash = {}
hash[:raw_info] = raw_info unless skip_info?
hash
end

# Return info gathered from the v1/user/:id/profile API call
Expand Down

0 comments on commit 1a3dc75

Please sign in to comment.