mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-21 06:11:45 +01:00
Merge pull request #916 from reasonerjt/dev
API should not return the salt of a user
This commit is contained in:
commit
f31e4f3608
@ -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