PLT-25 fixing issues with stats page

Этот коммит содержится в:
=Corey Hulen
2015-10-27 22:55:10 -07:00
родитель 570b54bbfc
Коммит 36308f949d
4 изменённых файлов: 10 добавлений и 11 удалений

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

@@ -652,6 +652,12 @@ func getProfiles(c *Context, w http.ResponseWriter, r *http.Request) {
for k, p := range profiles {
options := utils.SanitizeOptions
options["passwordupdate"] = false
if c.HasSystemAdminPermissions("getProfiles") {
options["fullname"] = true
options["email"] = true
}
p.Sanitize(options)
profiles[k] = p
}