mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[EC-598] fix: remove platform attachment check
This commit is contained in:
@@ -14,9 +14,11 @@ navigator.credentials.create = async (
|
|||||||
options?: CredentialCreationOptions,
|
options?: CredentialCreationOptions,
|
||||||
abortController?: AbortController
|
abortController?: AbortController
|
||||||
): Promise<Credential> => {
|
): Promise<Credential> => {
|
||||||
if (options.publicKey?.authenticatorSelection?.authenticatorAttachment === "platform") {
|
// if (options.publicKey?.authenticatorSelection?.authenticatorAttachment === "platform") {
|
||||||
return await browserCredentials.create(options);
|
// return await browserCredentials.create(options);
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
console.log(options.publicKey);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await messenger.request(
|
const response = await messenger.request(
|
||||||
|
|||||||
Reference in New Issue
Block a user