feat: add system setting to allow user signup (#407)

This commit is contained in:
boojack
2022-11-03 21:47:36 +08:00
committed by GitHub
parent 4ed987229b
commit cf75054106
21 changed files with 755 additions and 45 deletions

View File

@@ -5,4 +5,6 @@ import "github.com/usememos/memos/server/profile"
type SystemStatus struct {
Host *User `json:"host"`
Profile *profile.Profile `json:"profile"`
// System settings
AllowSignUp bool `json:"allowSignUp"`
}