From c93ae8ebaefa9df22f87cff4fa4849b701c7d161 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 23 Oct 2024 11:21:04 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20ci4s=20oauth2=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/oauth/ci4s_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/oauth/ci4s_controller.rb b/app/controllers/oauth/ci4s_controller.rb index 543466563..a19fd987d 100644 --- a/app/controllers/oauth/ci4s_controller.rb +++ b/app/controllers/oauth/ci4s_controller.rb @@ -3,7 +3,7 @@ class Oauth::Ci4sController < Oauth::BaseController def oauth_url - Ci4s::Service.oauth_url(code) + redirect_to Ci4s::Service.oauth_url end # 需要educoder那边设置回调地址