diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-05-02 08:07:58 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-02 08:07:58 -0400 |
commit | c63e027aece1270c8e1378ee27b015304d25f89d (patch) | |
tree | aefef2f1ea027472c62e821c04e6a56b460d931a /utils | |
parent | 3346a9a63a7c1db582b2f553269c64f4b4a356ef (diff) | |
download | chat-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.go | 1 |
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 { |