fix: missing default values for system settings (#6035)

#### What type of PR is this?

/kind bug
/area core
/milestone 2.16.x

#### What this PR does / why we need it:

补充缺失的系统设置默认值。

#### Does this PR introduce a user-facing change?

```release-note
修复系统设置未保存导致无法正常注册的问题
```
pull/6040/head
Ryan Wang 2024-06-05 10:31:18 +08:00 committed by GitHub
parent a188f719cb
commit 2841ff8282
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ data:
user: |
{
"allowRegistration": false,
"defaultRole": "",
"mustVerifyEmailOnRegistration": false,
"defaultRole": "guest",
"avatarPolicy": "default-policy"
}
theme: |