Permalink
Browse files

add info['image'] to raw_info['avatar_url']

  • Loading branch information...
1 parent 717fdca commit 430354b51fe526e261d0526d41aca32bc2fd83e7 @kuboon kuboon committed Feb 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/omniauth/strategies/github.rb
@@ -20,6 +20,7 @@ def request_phase
'nickname' => raw_info['login'],
'email' => raw_info['email'],
'name' => raw_info['name'],
+ 'image' => raw_info['avatar_url'],
'urls' => {
'GitHub' => "https://github.com/#{raw_info['login']}",
'Blog' => raw_info['blog'],

0 comments on commit 430354b

Please sign in to comment.