educoder/app/controllers/oauth/qq_controller.rb

9 lines
201 B

class Oauth::QQController < Oauth::BaseController
def create
user = Oauth::CreateOrFindQqAccountService.call(current_user, auth_hash)
successful_authentication(user)
render_ok
end
end