mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 06:01:43 +08:00
init project
This commit is contained in:
9
app/controllers/oauth/qq_controller.rb
Normal file
9
app/controllers/oauth/qq_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user