summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/ldap_settings.jsx
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-05-05 10:36:58 -0300
committerChristopher Speller <crspeller@gmail.com>2016-05-05 09:36:58 -0400
commit04b61d1f3852cf5a14ad9912f7cb71635512ebf6 (patch)
tree40c5dd32d828b0773027aefeaa4539a2f0a0228f /webapp/components/admin_console/ldap_settings.jsx
parent2c92540471004c79e317e8a0daf3e612560beda7 (diff)
downloadchat-04b61d1f3852cf5a14ad9912f7cb71635512ebf6.tar.gz
chat-04b61d1f3852cf5a14ad9912f7cb71635512ebf6.tar.bz2
chat-04b61d1f3852cf5a14ad9912f7cb71635512ebf6.zip
PLT-2797 Remove LDAP Password Field Name setting (#2884)
Diffstat (limited to 'webapp/components/admin_console/ldap_settings.jsx')
-rw-r--r--webapp/components/admin_console/ldap_settings.jsx31
1 files changed, 0 insertions, 31 deletions
diff --git a/webapp/components/admin_console/ldap_settings.jsx b/webapp/components/admin_console/ldap_settings.jsx
index 01402a588..3ced65e50 100644
--- a/webapp/components/admin_console/ldap_settings.jsx
+++ b/webapp/components/admin_console/ldap_settings.jsx
@@ -69,7 +69,6 @@ class LdapSettings extends React.Component {
config.LdapSettings.ConnectionSecurity = this.state.connectionSecurity.trim();
config.LdapSettings.SkipCertificateVerification = this.state.skipCertificateVerification;
config.LdapSettings.LoginFieldName = this.refs.LoginFieldName.value.trim();
- config.LdapSettings.PasswordFieldName = this.refs.PasswordFieldName.value.trim();
let QueryTimeout = DEFAULT_QUERY_TIMEOUT;
if (!isNaN(parseInt(ReactDOM.findDOMNode(this.refs.QueryTimeout).value, 10))) {
@@ -635,36 +634,6 @@ class LdapSettings extends React.Component {
</div>
<div className='form-group'>
- <label
- className='control-label col-sm-4'
- htmlFor='PasswordFieldName'
- >
- <FormattedMessage
- id='admin.ldap.passwordFieldTitle'
- defaultMessage='Password Field Name:'
- />
- </label>
- <div className='col-sm-8'>
- <input
- type='text'
- className='form-control'
- id='PasswordFieldName'
- ref='PasswordFieldName'
- placeholder={Utils.localizeMessage('admin.ldap.passwordFieldEx', 'Ex "LDAP Password"')}
- defaultValue={this.props.config.LdapSettings.PasswordFieldName}
- onChange={this.handleChange}
- disabled={!this.state.enable}
- />
- <p className='help-text'>
- <FormattedMessage
- id='admin.ldap.passwordFieldDesc'
- defaultMessage='The placeholder text that appears in the password field on the login page. Defaults to "LDAP Password".'
- />
- </p>
- </div>
- </div>
-
- <div className='form-group'>
<div className='col-sm-12'>
{serverError}
<button