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
FIX login bug
tags/v1.0.0
Jasder
5 years ago
parent
17da5fad38
commit
c4a92fe4a4
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/oauth/educoder_controller.rb
+ 1
- 1
app/controllers/oauth/educoder_controller.rb
View File
@@ -9,7 +9,7 @@ class Oauth::EducoderController < Oauth::BaseController
open_user= OpenUsers::Educoder.find_by(uid: login)
if open_user.present? && open_user.user.present? && open_user.user.email_bind?
if open_user.present? && open_user.user.present? && open_user.user.email_bind
ed
?
# 存在说明绑定了,验证信息是否齐全,
if current_user != open_user.user
logout_user
Write
Preview
Loading…
Cancel
Save