PLT-4155 Show correct login method in system console (#4102)

* PLT-4155 Show correct login method in system console

* Remove checking for system admin privileges in getProfiles
Этот коммит содержится в:
enahum
2016-09-28 09:49:54 -03:00
коммит произвёл Christopher Speller
родитель 45ca052482
Коммит caeadde2f2
2 изменённых файлов: 4 добавлений и 1 удалений

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

@@ -2518,6 +2518,7 @@ func sanitizeProfile(c *Context, user *model.User) *model.User {
if HasPermissionToContext(c, model.PERMISSION_MANAGE_SYSTEM) {
options["email"] = true
options["fullname"] = true
options["authservice"] = true
}
c.Err = nil