diff --git a/src/models/user.go b/src/models/user.go index 33d51ac3..c13ca19b 100644 --- a/src/models/user.go +++ b/src/models/user.go @@ -20,7 +20,7 @@ import ( type User struct { Id int64 `json:"id"` - UUID string `json:"uuid" xorm:"'uuid'"` + UUID string `json:"-" xorm:"'uuid'"` Username string `json:"username"` Password string `json:"-"` Dispname string `json:"dispname"`