forgeplus/app/controllers/oauth/qq_controller.rb

9 lines
231 B
Ruby

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