mirror of
https://github.com/goharbor/harbor
synced 2025-04-19 21:20:32 +00: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"`
|
// RoleList []Role `json:"role_list"`
|
||||||
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
||||||
ResetUUID string `orm:"column(reset_uuid)" json:"reset_uuid"`
|
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"`
|
CreationTime time.Time `orm:"creation_time" json:"creation_time"`
|
||||||
UpdateTime time.Time `orm:"update_time" json:"update_time"`
|
UpdateTime time.Time `orm:"update_time" json:"update_time"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user