Sanitize user in update user response (#24362)

Этот коммит содержится в:
Elias Nahum
2023-08-25 19:31:48 -04:00
коммит произвёл GitHub
родитель 818225dffe
Коммит f787fd6336
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@@ -1285,6 +1285,8 @@ func (a *App) UpdateUser(c request.CTX, user *model.User, sendNotifications bool
}(user.Id)
}
newUser.Sanitize(map[string]bool{})
return newUser, nil
}