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:
parent
a3176ad704
commit
260dc839b4
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user