mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
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 |