This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fixed 授权登录绑定账号返回用户信息
pull/313/head
xxq250
3 years ago
parent
87ee19e882
commit
0a44e84540
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/controllers/bind_users_controller.rb
+ 1
- 0
app/controllers/bind_users_controller.rb
View File
@@ -12,6 +12,7 @@ class BindUsersController < ApplicationController
tip_exception '该账号已被绑定,请更换其他账号进行绑定' if bind_user.bind_open_user?(params[:type].to_s)
"OpenUsers::#{params[:type].to_s.capitalize}".constantize.create!(user: bind_user, uid: session[:unionid])
successful_authentication(bind_user)
@user = bind_user
end
Write
Preview
Loading…
Cancel
Save