From 9133d5939c8196f6f6ed4ad6b94610572a7beb85 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Sun, 5 Jun 2016 02:37:19 -0400 Subject: Fixing nickname when LDAP is enabled but nickname field not set (#3243) --- webapp/components/user_settings/user_settings_general.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/user_settings/user_settings_general.jsx') diff --git a/webapp/components/user_settings/user_settings_general.jsx b/webapp/components/user_settings/user_settings_general.jsx index da195d0be..bd1e2829d 100644 --- a/webapp/components/user_settings/user_settings_general.jsx +++ b/webapp/components/user_settings/user_settings_general.jsx @@ -649,7 +649,7 @@ class UserSettingsGeneralTab extends React.Component { if (this.props.activeSection === 'nickname') { let extraInfo; let submit = null; - if (this.props.user.auth_service === 'ldap' && global.window.mm_config.NicknameAttributeSet) { + if (this.props.user.auth_service === 'ldap' && global.window.mm_config.NicknameAttributeSet === 'true') { extraInfo = (