Skip to content

Commit

Permalink
Avoid waiting for a 2nd on-load event before calling verifyWebAuthn()
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Dec 2, 2024
1 parent a768da3 commit cc3d7e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
}
document.getElementById('showBtn').addEventListener('click', verifyWebAuthn);
document.querySelector('body').addEventListener('load', verifyWebAuthn);
verifyWebAuthn();
});
</script>
</head>
Expand Down

0 comments on commit cc3d7e7

Please sign in to comment.