Remove redundant error messaging (#1187)

* Remove redundant error messaging

Remove the "WebAuth Error" prefix from WebAuthn error strings

* Update src/connectors/webauthn.ts

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
This commit is contained in:
Matt Portune 2021-09-09 11:13:33 -04:00 committed by GitHub
parent 9972c8ac61
commit fb89421b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ function executeWebAuthn() {
navigator.credentials.get({ publicKey: obj })
.then(success)
.catch(err => error('WebAuth Error: ' + err));
.catch(error);
}
function onMessage() {