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,18 +339,17 @@ export const LdapSettingsConnection = ({
|
|||
})}
|
||||
/>
|
||||
</FormGroup>
|
||||
<FormGroup fieldId="kc-test-button">
|
||||
<Button
|
||||
isDisabled={!form.formState.isValid}
|
||||
variant="secondary"
|
||||
id="kc-test-button"
|
||||
onClick={() => testLdap()}
|
||||
>
|
||||
{t("common:test")}
|
||||
</Button>
|
||||
</FormGroup>
|
||||
</>
|
||||
)}
|
||||
<FormGroup fieldId="kc-test-button">
|
||||
<Button
|
||||
variant="secondary"
|
||||
id="kc-test-button"
|
||||
onClick={() => testLdap()}
|
||||
>
|
||||
{t("common:test")}
|
||||
</Button>
|
||||
</FormGroup>
|
||||
</FormAccess>
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -47,7 +47,7 @@ export const LdapSettingsSynchronization = ({
|
|||
>
|
||||
<Controller
|
||||
name="config.importEnabled"
|
||||
defaultValue={["false"]}
|
||||
defaultValue={["true"]}
|
||||
control={form.control}
|
||||
render={({ onChange, value }) => (
|
||||
<Switch
|
||||
|
|
Loading…
Reference in a new issue