From cf5dae6baed1f305cd1fd778f5a051643d7ec11a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Scho=CC=88n?= Date: Thu, 20 Oct 2011 18:19:52 +0200 Subject: [PATCH] add email address to user_info hash in xing strategy --- oa-oauth/lib/omniauth/strategies/oauth/xing.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/oa-oauth/lib/omniauth/strategies/oauth/xing.rb b/oa-oauth/lib/omniauth/strategies/oauth/xing.rb index 9693bf9..35db4ef 100644 --- a/oa-oauth/lib/omniauth/strategies/oauth/xing.rb +++ b/oa-oauth/lib/omniauth/strategies/oauth/xing.rb @@ -39,6 +39,7 @@ module OmniAuth 'first_name' => person['first_name'], 'last_name' => person['last_name'], 'image' => person["photo_urls"]["large"], + 'email' => person["active_email"], } end