parent
a2ea81b3b8
commit
994f1f8d3d
@ -70,9 +70,9 @@ export default function LoginRecoveryAuthnCodeConfig(props: PageProps<Extract<Kc
|
|||||||
type="checkbox"
|
type="checkbox"
|
||||||
id="kcRecoveryCodesConfirmationCheck"
|
id="kcRecoveryCodesConfirmationCheck"
|
||||||
name="kcRecoveryCodesConfirmationCheck"
|
name="kcRecoveryCodesConfirmationCheck"
|
||||||
onChange={function () {
|
onChange={event => {
|
||||||
//@ts-expect-error: This is code from the original theme, we trust it.
|
//@ts-expect-error: This is inherited from the original code
|
||||||
document.getElementById("saveRecoveryAuthnCodesBtn").disabled = !this.checked;
|
document.getElementById("saveRecoveryAuthnCodesBtn").disabled = !event.target.checked;
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<label htmlFor="kcRecoveryCodesConfirmationCheck">{msg("recovery-codes-confirmation-message")}</label>
|
<label htmlFor="kcRecoveryCodesConfirmationCheck">{msg("recovery-codes-confirmation-message")}</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user