summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/webAuthnAbortService.ts2
-rw-r--r--packages/browser/src/methods/startAuthentication.ts2
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/browser/src/helpers/webAuthnAbortService.ts b/packages/browser/src/helpers/webAuthnAbortService.ts
index 2107a5b..c60e6df 100644
--- a/packages/browser/src/helpers/webAuthnAbortService.ts
+++ b/packages/browser/src/helpers/webAuthnAbortService.ts
@@ -10,7 +10,7 @@ class WebAuthnAbortService {
* reload the page
*/
createNewAbortSignal() {
- // Abort any existing calls to navigator.credentials.get()
+ // Abort any existing calls to navigator.credentials.create() or navigator.credentials.get()
if (this.controller) {
this.controller.abort();
}
diff --git a/packages/browser/src/methods/startAuthentication.ts b/packages/browser/src/methods/startAuthentication.ts
index f4c3bb5..a568289 100644
--- a/packages/browser/src/methods/startAuthentication.ts
+++ b/packages/browser/src/methods/startAuthentication.ts
@@ -67,8 +67,6 @@ export async function startAuthentication(
options.mediation = 'conditional' as CredentialMediationRequirement;
// Conditional UI requires an empty allow list
publicKey.allowCredentials = [];
-
- console.log('ready for conditional UI');
}
// Finalize options