qq oauth fix

issues25489
p31729568 5 years ago
parent 15f02ce89e
commit 319200c800

@ -48,8 +48,8 @@ module OmniAuth
def user_info def user_info
access_token.options[:mode] = :query access_token.options[:mode] = :query
params = { oauth_consumer_key: options.client_id, openid: uid, format: 'json', parse: :json } param = { oauth_consumer_key: options[:client_id], openid: uid, format: 'json' }
@user_info ||= access_token.get('/user/get_user_info', params: params).parsed @user_info ||= access_token.get('/user/get_user_info', params: param, parse: :json).parsed
end end
end end
end end

Loading…
Cancel
Save