1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-30 18:37:03 +00:00

fix(web): school default value

This commit is contained in:
Baoshuo Ren 2022-11-07 06:31:09 +08:00
parent 2a69d50d6d
commit 70e3fbb93e
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -57,7 +57,7 @@ class UOJUser {
$info = [
'username' => $user['username'],
'email' => $user['email'],
'school' => $user['school'],
'school' => $user['school'] ?: '',
'password' => $password,
'svn_password' => uojRandString(20),
'register_time' => DB::now(),