去除ldap-附加用户dn配置

This commit is contained in:
xxx 2023-09-24 16:00:40 +08:00
parent 052ee5f9f8
commit b2820232b9

View File

@ -170,10 +170,6 @@ const SystemConfigPage = () => {
form.setFieldsValue({
"ldap.base_dn": configData[i].key_value,
});
} else if (configData[i].key_name === "ldap.user_dn_prefix") {
form.setFieldsValue({
"ldap.user_dn_prefix": configData[i].key_value,
});
}
}
});
@ -768,20 +764,6 @@ const SystemConfigPage = () => {
<div className="helper-text">LDAP根节点搜索用户</div>
</Space>
</Form.Item>
<Form.Item style={{ marginBottom: 30 }} label="附件用户DN">
<Space align="baseline" style={{ height: 32 }}>
<Form.Item name="ldap.user_dn_prefix">
<Input
style={{ width: 274 }}
allowClear
placeholder="请填写基本DN"
/>
</Form.Item>
<div className="helper-text">
DN的搜索范围限制
</div>
</Space>
</Form.Item>
<Form.Item
style={{ marginBottom: 30 }}
wrapperCol={{ offset: 3, span: 21 }}