Merge pull request #980 from ryanblenis/u2f

U2F fix in second place
This commit is contained in:
Ylian Saint-Hilaire 2020-02-27 14:42:18 -08:00 committed by GitHub
commit fdd44c73b9
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@
publicKeyCredentialRequestOptions = { challenge: hardwareKeyChallenge.challenge, allowCredentials: [], timeout: hardwareKeyChallenge.timeout }
for (var i = 0; i < hardwareKeyChallenge.keyIds.length; i++) {
publicKeyCredentialRequestOptions.allowCredentials.push(
{ id: Uint8Array.from(atob(hardwareKeyChallenge.keyIds[i]), function (c) { return c.charCodeAt(0) }), type: 'public-key', transports: ['usb', 'ble', 'nfc'], }
{ id: Uint8Array.from(atob(hardwareKeyChallenge.keyIds[i]), function (c) { return c.charCodeAt(0) }), type: 'public-key', transports: ['usb', 'ble', 'nfc', 'interal'] }
);
}