更改:使用uid作为创建用户标识

This commit is contained in:
yystopf 2024-03-26 13:39:44 +08:00
parent d4055bbe75
commit d8ddde617f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Oauth::AcgeController < Oauth::BaseController
return
else
username = uid[0..7]
username = uid
password = SecureRandom.hex(4)
reg_result = autologin_register(username, email, password, 'acge', phone, name)
existing_rows = CSV.read("public/操作系统大赛用户信息.csv")