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
更改:使用uid作为创建用户标识
pull/347/head
yystopf
2 years ago
parent
d4055bbe75
commit
d8ddde617f
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/oauth/acge_controller.rb
+ 1
- 1
app/controllers/oauth/acge_controller.rb
View File
@@ -30,7 +30,7 @@ class Oauth::AcgeController < Oauth::BaseController
return
return
else
else
username = uid
[0..7]
username = uid
password = SecureRandom.hex(4)
password = SecureRandom.hex(4)
reg_result = autologin_register(username, email, password, 'acge', phone, name)
reg_result = autologin_register(username, email, password, 'acge', phone, name)
existing_rows = CSV.read("public/操作系统大赛用户信息.csv")
existing_rows = CSV.read("public/操作系统大赛用户信息.csv")
Write
Preview
Loading…
Cancel
Save