mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
更改:使用uid作为创建用户标识
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user