|
@@ -28,6 +28,7 @@ export default class AdminSecurityContainer extends Container {
|
|
|
bindMode: 'manager',
|
|
bindMode: 'manager',
|
|
|
bindDN: '',
|
|
bindDN: '',
|
|
|
bindDNPassword: '',
|
|
bindDNPassword: '',
|
|
|
|
|
+ searchFilter: '',
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -112,4 +113,14 @@ export default class AdminSecurityContainer extends Container {
|
|
|
this.setState({ newLdapConfig });
|
|
this.setState({ newLdapConfig });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Change search filter
|
|
|
|
|
+ */
|
|
|
|
|
+ changeSearchFilter(inputValue) {
|
|
|
|
|
+ const newLdapConfig = this.state.ldapConfig;
|
|
|
|
|
+ newLdapConfig.searchFilter = inputValue;
|
|
|
|
|
+ this.setState({ newLdapConfig });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|