diff options
author | Matthew Miller <matthew@millerti.me> | 2022-07-04 08:17:15 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-07-04 08:17:15 -0700 |
commit | 0bde0f91b8bdecfbfc889671758c98bcd3a4dcc8 (patch) | |
tree | 223e31abf1358e674c84fa6c4c748855ed114dbc /packages/browser/src/methods | |
parent | 803c0cd5d9321c673fb556b16e37c8d583ba8a1d (diff) |
Populate authenticatorAttachment
Diffstat (limited to 'packages/browser/src/methods')
-rw-r--r-- | packages/browser/src/methods/startAuthentication.ts | 1 | ||||
-rw-r--r-- | packages/browser/src/methods/startRegistration.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/browser/src/methods/startAuthentication.ts b/packages/browser/src/methods/startAuthentication.ts index 7887228..e99629c 100644 --- a/packages/browser/src/methods/startAuthentication.ts +++ b/packages/browser/src/methods/startAuthentication.ts @@ -107,5 +107,6 @@ export async function startAuthentication( }, type, clientExtensionResults: credential.getClientExtensionResults(), + authenticatorAttachment: credential.authenticatorAttachment, }; } diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index 80fbe31..c9749b1 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -66,6 +66,7 @@ export async function startRegistration( }, type, clientExtensionResults: credential.getClientExtensionResults(), + authenticatorAttachment: credential.authenticatorAttachment, }; /** |