1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-16 10:45:20 +01:00

[EC-598] fix: remove platform attachment check

This commit is contained in:
Andreas Coroiu 2023-04-14 13:16:41 +02:00
parent a3176ad704
commit 260dc839b4
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A

View File

@ -14,9 +14,11 @@ navigator.credentials.create = async (
options?: CredentialCreationOptions,
abortController?: AbortController
): Promise<Credential> => {
if (options.publicKey?.authenticatorSelection?.authenticatorAttachment === "platform") {
return await browserCredentials.create(options);
}
// if (options.publicKey?.authenticatorSelection?.authenticatorAttachment === "platform") {
// return await browserCredentials.create(options);
// }
console.log(options.publicKey);
try {
const response = await messenger.request(