fixes test btn and import users default (#647)
This commit is contained in:
parent
347a2db8bd
commit
ce3eddfa17
2 changed files with 10 additions and 11 deletions
|
@ -339,9 +339,10 @@ export const LdapSettingsConnection = ({
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<FormGroup fieldId="kc-test-button">
|
<FormGroup fieldId="kc-test-button">
|
||||||
<Button
|
<Button
|
||||||
isDisabled={!form.formState.isValid}
|
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id="kc-test-button"
|
id="kc-test-button"
|
||||||
onClick={() => testLdap()}
|
onClick={() => testLdap()}
|
||||||
|
@ -349,8 +350,6 @@ export const LdapSettingsConnection = ({
|
||||||
{t("common:test")}
|
{t("common:test")}
|
||||||
</Button>
|
</Button>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</FormAccess>
|
</FormAccess>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
@ -47,7 +47,7 @@ export const LdapSettingsSynchronization = ({
|
||||||
>
|
>
|
||||||
<Controller
|
<Controller
|
||||||
name="config.importEnabled"
|
name="config.importEnabled"
|
||||||
defaultValue={["false"]}
|
defaultValue={["true"]}
|
||||||
control={form.control}
|
control={form.control}
|
||||||
render={({ onChange, value }) => (
|
render={({ onChange, value }) => (
|
||||||
<Switch
|
<Switch
|
||||||
|
|
Loading…
Reference in a new issue