[release-2.16] fix: missing default values for system settings (#6036)

This is an automated cherry-pick of #6035

/assign JohnNiang

```release-note
修复系统设置未保存导致无法正常注册的问题
```
pull/6045/head v2.16.1
Halo Dev Bot 2024-06-05 10:49:23 +08:00 committed by GitHub
parent ba96118b4e
commit 3836b22090
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: |