From 0b381551e000eb8cce987f9a044b2f5dbd912b56 Mon Sep 17 00:00:00 2001 From: Felix Deibert <24978665+deibertf@users.noreply.github.com> Date: Thu, 16 Feb 2023 00:34:39 +0100 Subject: [PATCH] Update webauthn.js --- resources/js/webauthn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/webauthn.js b/resources/js/webauthn.js index 3775af6..409421a 100644 --- a/resources/js/webauthn.js +++ b/resources/js/webauthn.js @@ -315,6 +315,7 @@ class WebAuthn { const publicKeyCredential = this.#parseOutgoingCredentials(credentials); Object.assign(publicKeyCredential, response); + Object.assign(publicKeyCredential, request); return await this.#fetch(publicKeyCredential, this.#routes.register).then(WebAuthn.#handleResponse); }