mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 20:08:42 +00:00
fix(web): school default value
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2a69d50d6d
commit
70e3fbb93e
@ -57,7 +57,7 @@ class UOJUser {
|
|||||||
$info = [
|
$info = [
|
||||||
'username' => $user['username'],
|
'username' => $user['username'],
|
||||||
'email' => $user['email'],
|
'email' => $user['email'],
|
||||||
'school' => $user['school'],
|
'school' => $user['school'] ?: '',
|
||||||
'password' => $password,
|
'password' => $password,
|
||||||
'svn_password' => uojRandString(20),
|
'svn_password' => uojRandString(20),
|
||||||
'register_time' => DB::now(),
|
'register_time' => DB::now(),
|
||||||
|
Loading…
Reference in New Issue
Block a user