From 8c2c8921446c0e098fdbc1e4287fc5e9b475d88a Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 13 Apr 2016 19:31:01 -0400 Subject: Allow customization of LDAP login fields (#2692) --- webapp/components/admin_console/ldap_settings.jsx | 63 +++++++++++++++++++++++ 1 file changed, 63 insertions(+) (limited to 'webapp/components/admin_console/ldap_settings.jsx') diff --git a/webapp/components/admin_console/ldap_settings.jsx b/webapp/components/admin_console/ldap_settings.jsx index e5abec95f..dd6e4338f 100644 --- a/webapp/components/admin_console/ldap_settings.jsx +++ b/webapp/components/admin_console/ldap_settings.jsx @@ -67,6 +67,8 @@ class LdapSettings extends React.Component { config.LdapSettings.UserFilter = this.refs.UserFilter.value.trim(); 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))) { @@ -571,6 +573,67 @@ class LdapSettings extends React.Component {

+ +
+ +
+ +

+ +

+
+
+ +
+ +
+ +

+ +

+
+
+
{serverError} -- cgit v1.2.3-1-g7c22