Add files via upload
This commit is contained in:
parent
11b47e6898
commit
a768d37f3b
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user