Browse Source

fixed ci4s oauth2接入 user_info

pull/347/head
xxq250 1 year ago
parent
commit
13da8e3577
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/oauth/ci4s_controller.rb

+ 1
- 1
app/controllers/oauth/ci4s_controller.rb View File

@@ -45,7 +45,7 @@ class Oauth::Ci4sController < Oauth::BaseController
end
Rails.logger.info("[OAuth2] session[:unionid] -> #{session[:unionid]}")

redirect_to root_path(new_user: new_user)
redirect_to root_path(new_user: new_user) && return
# rescue Exception => ex
# render_error(ex.message)
# end


Loading…
Cancel
Save