forked from jasder/forgeplus
9 lines
231 B
Ruby
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
|