Skip to content

Commit

Permalink
add empty user data
Browse files Browse the repository at this point in the history
  • Loading branch information
lexer committed Apr 29, 2011
1 parent f82d19b commit 5d15e99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oa-oauth/lib/omniauth/strategies/mailru.rb
Expand Up @@ -35,6 +35,7 @@ def request_phase
end

def user_data
@data = {}
#@data ||= MultiJson.decode(@access_token.get("http://www.appsmail.ru/platform/api?method=users.getInfo&app_id=#{api_key}&session_key=#{@access_token['access_token']}&sig=#{secret_key}"))[0]
#@data ||= MultiJson.decode(@access_token.get("http://www.appsmail.ru/platform/api?method=users.getInfo"))[0]
end
Expand Down

0 comments on commit 5d15e99

Please sign in to comment.