mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
U2F fix in second place
This commit is contained in:
parent
74956128b5
commit
9028eca40a
@ -388,7 +388,7 @@
|
|||||||
publicKeyCredentialRequestOptions = { challenge: hardwareKeyChallenge.challenge, allowCredentials: [], timeout: hardwareKeyChallenge.timeout }
|
publicKeyCredentialRequestOptions = { challenge: hardwareKeyChallenge.challenge, allowCredentials: [], timeout: hardwareKeyChallenge.timeout }
|
||||||
for (var i = 0; i < hardwareKeyChallenge.keyIds.length; i++) {
|
for (var i = 0; i < hardwareKeyChallenge.keyIds.length; i++) {
|
||||||
publicKeyCredentialRequestOptions.allowCredentials.push(
|
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'] }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user