Add files via upload

This commit is contained in:
niubility000 2021-12-28 10:52:31 +08:00 committed by GitHub
parent 11b47e6898
commit a768d37f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,15 +12,17 @@ type AuthMethod string
// Settings contain the main settings of the application. // Settings contain the main settings of the application.
type Settings struct { type Settings struct {
Key []byte `json:"key"` Key []byte `json:"key"`
Signup bool `json:"signup"` Signup bool `json:"signup"`
CreateUserDir bool `json:"createUserDir"` CreateUserDir bool `json:"createUserDir"`
Defaults UserDefaults `json:"defaults"` UseInvitationCode bool `json:"useInvitationCode"`
AuthMethod AuthMethod `json:"authMethod"` InvitationCode string `json:"invitationCode"`
Branding Branding `json:"branding"` Defaults UserDefaults `json:"defaults"`
Commands map[string][]string `json:"commands"` AuthMethod AuthMethod `json:"authMethod"`
Shell []string `json:"shell"` Branding Branding `json:"branding"`
Rules []rules.Rule `json:"rules"` Commands map[string][]string `json:"commands"`
Shell []string `json:"shell"`
Rules []rules.Rule `json:"rules"`
} }
// GetRules implements rules.Provider. // GetRules implements rules.Provider.