summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startRegistration.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-09-28 21:14:32 -0700
committerGitHub <noreply@github.com>2022-09-28 21:14:32 -0700
commit8b75f0836e39df29b8593f96fb806608c2a81196 (patch)
treeba1d6e1346ba40cddc35f5a9c2f3ca68358eecc2 /packages/browser/src/methods/startRegistration.ts
parente64b50cc84d49478d49e0a394511963d0110277b (diff)
parent4ea0bd370609294e3cf70f467d234093fc6e87fb (diff)
Merge pull request #275 from MasterKale/fix/webauthn-abort-controller-race-condition
fix/webauthn-abort-controller-race-condition
Diffstat (limited to 'packages/browser/src/methods/startRegistration.ts')
-rw-r--r--packages/browser/src/methods/startRegistration.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts
index e103c11..bc30707 100644
--- a/packages/browser/src/methods/startRegistration.ts
+++ b/packages/browser/src/methods/startRegistration.ts
@@ -46,8 +46,6 @@ export async function startRegistration(
credential = (await navigator.credentials.create(options)) as RegistrationCredential;
} catch (err) {
throw identifyRegistrationError({ error: err as Error, options });
- } finally {
- webauthnAbortService.reset();
}
if (!credential) {