summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-05-02 08:07:58 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-02 08:07:58 -0400
commitc63e027aece1270c8e1378ee27b015304d25f89d (patch)
treeaefef2f1ea027472c62e821c04e6a56b460d931a /utils
parent3346a9a63a7c1db582b2f553269c64f4b4a356ef (diff)
downloadchat-c63e027aece1270c8e1378ee27b015304d25f89d.tar.gz
chat-c63e027aece1270c8e1378ee27b015304d25f89d.tar.bz2
chat-c63e027aece1270c8e1378ee27b015304d25f89d.zip
Fixing LDAP editing of attributes (#2824)
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 1ae658b16..9e2776f75 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -259,6 +259,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableLdap"] = strconv.FormatBool(*c.LdapSettings.Enable)
props["LdapLoginFieldName"] = *c.LdapSettings.LoginFieldName
props["LdapPasswordFieldName"] = *c.LdapSettings.PasswordFieldName
+ props["NicknameAttributeSet"] = strconv.FormatBool(*c.LdapSettings.NicknameAttribute != "")
}
if *License.Features.MFA {