mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-22 06:41:36 +01:00
API should not return the salt of a user
This commit is contained in:
parent
470649c283
commit
e3e0074a7f
@ -35,7 +35,7 @@ type User struct {
|
||||
// RoleList []Role `json:"role_list"`
|
||||
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
||||
ResetUUID string `orm:"column(reset_uuid)" json:"reset_uuid"`
|
||||
Salt string `orm:"column(salt)"`
|
||||
Salt string `orm:"column(salt)" json:"-"`
|
||||
CreationTime time.Time `orm:"creation_time" json:"creation_time"`
|
||||
UpdateTime time.Time `orm:"update_time" json:"update_time"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user