mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add public flag instead of system setting to enable signup (#3589)
This commit is contained in:
@ -30,6 +30,8 @@ type Profile struct {
|
||||
Driver string `json:"-"`
|
||||
// Version is the current version of server
|
||||
Version string `json:"version"`
|
||||
// Pubic is the flag whether the instance is public for others.
|
||||
Public bool `json:"public"`
|
||||
}
|
||||
|
||||
func (p *Profile) IsDev() bool {
|
||||
|
Reference in New Issue
Block a user