Allow TouchID

Ryan Blenis committed Feb 25, 2020 at 16:59 UTC 74956128b550444da6d905196c6d827d37539f2a
1 file changed +1 -1
views/login.handlebars
+1 -1
@@ -353,7 +353,7 @@
353 publicKeyCredentialRequestOptions = { challenge: hardwareKeyChallenge.challenge, allowCredentials: [], timeout: hardwareKeyChallenge.timeout }
354 for (var i = 0; i < hardwareKeyChallenge.keyIds.length; i++) {
355 publicKeyCredentialRequestOptions.allowCredentials.push(
356 - { id: Uint8Array.from(atob(hardwareKeyChallenge.keyIds[i]), function (c) { return c.charCodeAt(0) }), type: 'public-key', transports: ['usb', 'ble', 'nfc'], }
356 + { id: Uint8Array.from(atob(hardwareKeyChallenge.keyIds[i]), function (c) { return c.charCodeAt(0) }), type: 'public-key', transports: ['usb', 'ble', 'nfc', 'internal'] }
357 );
358 }
359