diff --git a/object/user.go b/object/user.go index 0fdd4e08..589bfcb0 100644 --- a/object/user.go +++ b/object/user.go @@ -639,7 +639,7 @@ func UpdateUser(id string, user *User, columns []string, isAdmin bool) (bool, er if len(columns) == 0 { columns = []string{ "owner", "display_name", "avatar", "first_name", "last_name", - "location", "address", "country_code", "region", "language", "affiliation", "title", "homepage", "bio", "tag", "language", "gender", "birthday", "education", "score", "karma", "ranking", "signup_application", + "location", "address", "country_code", "region", "language", "affiliation", "title", "id_card_type", "id_card", "homepage", "bio", "tag", "language", "gender", "birthday", "education", "score", "karma", "ranking", "signup_application", "is_admin", "is_forbidden", "is_deleted", "hash", "is_default_avatar", "properties", "webauthnCredentials", "managedAccounts", "signin_wrong_times", "last_signin_wrong_time", "groups", "access_key", "access_secret", "github", "google", "qq", "wechat", "facebook", "dingtalk", "weibo", "gitee", "linkedin", "wecom", "lark", "gitlab", "adfs",