diff --git a/src/data/webAuthnRegister.ts b/src/data/webAuthnRegister.ts index 23744df..7d8a133 100644 --- a/src/data/webAuthnRegister.ts +++ b/src/data/webAuthnRegister.ts @@ -216,7 +216,7 @@ document.addEventListener('alpine:init', () => { } }) .catch(function (error) { - error.value = error; + errorInput.value = error; registerForm.submit(); }); },