diff options
author | Matthew Miller <matthew@millerti.me> | 2022-09-27 21:09:50 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-09-28 14:51:02 -0700 |
commit | a86025d58417e729171862bdbed69795f7814452 (patch) | |
tree | affd3cbdd92771bbbb52106b099288e7accfd3dc /packages/browser/src/helpers/webAuthnAbortService.ts | |
parent | e64b50cc84d49478d49e0a394511963d0110277b (diff) |
Add reason to call to abort()
Diffstat (limited to 'packages/browser/src/helpers/webAuthnAbortService.ts')
-rw-r--r-- | packages/browser/src/helpers/webAuthnAbortService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/helpers/webAuthnAbortService.ts b/packages/browser/src/helpers/webAuthnAbortService.ts index c60e6df..268f008 100644 --- a/packages/browser/src/helpers/webAuthnAbortService.ts +++ b/packages/browser/src/helpers/webAuthnAbortService.ts @@ -12,7 +12,7 @@ class WebAuthnAbortService { createNewAbortSignal() { // Abort any existing calls to navigator.credentials.create() or navigator.credentials.get() if (this.controller) { - this.controller.abort(); + this.controller.abort('Cancelling existing WebAuthn API call for new one'); } this.controller = new AbortController(); |