Add admin user, and an option to add a user admin on startup
This commit is contained in:
@@ -4,6 +4,7 @@ type AppInfo struct {
|
||||
RegistrationDisabled bool `json:"registrationDisabled"`
|
||||
DemoMode bool `json:"demoMode"`
|
||||
DemoUsername string `json:"demoUsername"`
|
||||
Admin bool `json:"admin"`
|
||||
}
|
||||
|
||||
type FullBookGet struct {
|
||||
|
||||
Reference in New Issue
Block a user