render user json do not return uuid

This commit is contained in:
UlricQin 2020-11-02 12:38:22 +08:00
parent bec893d662
commit 7999c1fbe5
1 changed files with 1 additions and 1 deletions

View File

@ -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"`