control debug visibliity with other kerberos

This commit is contained in:
mfrances 2021-03-16 15:09:02 -04:00
parent bb21001d74
commit 4593a3fa2a

View file

@ -169,39 +169,38 @@ export const LdapSettingsKerberosIntegration = ({
</div>
)}
</FormGroup>
<FormGroup
label={t("debug")}
labelIcon={
<HelpItem
helpText={helpText("debugHelp")}
forLabel={t("debug")}
forID="kc-debug"
/>
}
fieldId="kc-debug"
hasNoPaddingTop
>
{" "}
<Controller
name="config.debug"
defaultValue={["false"]}
control={form.control}
render={({ onChange, value }) => (
<Switch
id={"kc-debug"}
isDisabled={false}
onChange={(value) => onChange([`${value}`])}
isChecked={value[0] === "true"}
label={t("common:on")}
labelOff={t("common:off")}
/>
)}
></Controller>
</FormGroup>
</>
)}
<FormGroup
label={t("debug")}
labelIcon={
<HelpItem
helpText={helpText("debugHelp")}
forLabel={t("debug")}
forID="kc-debug"
/>
}
fieldId="kc-debug"
hasNoPaddingTop
>
{" "}
<Controller
name="config.debug"
defaultValue={["false"]}
control={form.control}
render={({ onChange, value }) => (
<Switch
id={"kc-debug"}
isDisabled={false}
onChange={(value) => onChange([`${value}`])}
isChecked={value[0] === "true"}
label={t("common:on")}
labelOff={t("common:off")}
/>
)}
></Controller>
</FormGroup>
<FormGroup
label={t("useKerberosForPasswordAuthentication")}
labelIcon={