control debug visibliity with other kerberos
This commit is contained in:
parent
bb21001d74
commit
4593a3fa2a
1 changed files with 30 additions and 31 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue