diff --git a/app/controllers/oauth/ci4s_controller.rb b/app/controllers/oauth/ci4s_controller.rb index a19fd987d..ec82e2de7 100644 --- a/app/controllers/oauth/ci4s_controller.rb +++ b/app/controllers/oauth/ci4s_controller.rb @@ -8,7 +8,7 @@ class Oauth::Ci4sController < Oauth::BaseController # 需要educoder那边设置回调地址 def create - begin + # begin code = params['code'].to_s.strip tip_exception("code不能为空") if code.blank? @@ -45,8 +45,8 @@ class Oauth::Ci4sController < Oauth::BaseController Rails.logger.info("[OAuth2] session[:unionid] -> #{session[:unionid]}") redirect_to root_path(new_user: new_user) - rescue Exception => ex - render_error(ex.message) - end + # rescue Exception => ex + # render_error(ex.message) + # end end end