diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig index 6ea93dc..5d2a3ca 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig @@ -65,7 +65,7 @@ } document.getElementById('showBtn').addEventListener('click', verifyWebAuthn); - document.querySelector('body').addEventListener{'load', verifyWebAuthn}; + document.querySelector('body').addEventListener('load', verifyWebAuthn); });