Fixing nickname when LDAP is enabled but nickname field not set (#3243)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
e71c43d24a
Коммит
9133d5939c
@@ -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 = (
|
||||
<span>
|
||||
<FormattedMessage
|
||||
|
||||
Ссылка в новой задаче
Block a user