summaryrefslogtreecommitdiff
path: root/config/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/user.go')
-rw-r--r--config/user.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/user.go b/config/user.go
index f42fbf7..b43161a 100644
--- a/config/user.go
+++ b/config/user.go
@@ -3,9 +3,9 @@ package config
// UserConfig holds configuration fields related to a user account.
//
type UserConfig struct {
- As string `yaml:"as" validate:"omitempty,username"` // user name
- UID uint `yaml:"uid"` // user ID
- GID uint `yaml:"gid"` // group ID
+ As string `json:"as" validate:"omitempty,username"` // user name
+ UID uint `json:"uid"` // user ID
+ GID uint `json:"gid"` // group ID
}
// Merge takes another UserConfig and overwrites this struct's fields.