global settings: add createUserDir option. new feature: auto create user home dir while adding user.

This commit is contained in:
荒野無燈
2019-02-15 23:12:02 +08:00
parent cf985676b9
commit e8570e4dba
7 changed files with 107 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ type AuthMethod string
type Settings struct {
Key []byte `json:"key"`
Signup bool `json:"signup"`
CreateUserDir bool `json:"createUserDir"`
Defaults UserDefaults `json:"defaults"`
AuthMethod AuthMethod `json:"authMethod"`
Branding Branding `json:"branding"`