Closed MasterKale closed 3 years ago
platformAuthenticatorIsAvailable() errors out with "PublicKeyCredential is not defined" if the browser doesn't support WebAuthn. This PR adds in a check that WebAuthn is supported before trying to query for the status of the platform authenticator.
platformAuthenticatorIsAvailable()
Fixes #154.
platformAuthenticatorIsAvailable()
errors out with "PublicKeyCredential is not defined" if the browser doesn't support WebAuthn. This PR adds in a check that WebAuthn is supported before trying to query for the status of the platform authenticator.Fixes #154.