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
oauth2已登录跳转
pull/346/head
xxq250
1 year ago
parent
db736cae66
commit
2e773e92fb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/oauth2_controller.rb
+ 1
- 1
app/controllers/oauth2_controller.rb
View File
@@ -7,7 +7,7 @@ class Oauth2Controller < ApplicationController
@call_url = request.fullpath.split('call_url=').last
@app = Doorkeeper::Application.find_by(uid: client_id)
if User.current.logged?
redirect_to @call_url + "&auth=" +
@user
.login
redirect_to @call_url + "&auth=" +
User.current
.login
end
end
Write
Preview
Loading…
Cancel
Save