diff options
author | enahum <nahumhbl@gmail.com> | 2016-09-28 09:49:54 -0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-09-28 08:49:54 -0400 |
commit | caeadde2f24384deca67f9d00999252ee53570ad (patch) | |
tree | 717b20d9034ff12ffab301c0defc2b0b7bb046e4 /api/user.go | |
parent | 45ca052482d42a535f399b149c7e26e99663ac15 (diff) | |
download | chat-caeadde2f24384deca67f9d00999252ee53570ad.tar.gz chat-caeadde2f24384deca67f9d00999252ee53570ad.tar.bz2 chat-caeadde2f24384deca67f9d00999252ee53570ad.zip |
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
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/user.go b/api/user.go index 5b2024315..ae8136d7a 100644 --- a/api/user.go +++ b/api/user.go @@ -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 |