mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
And now it works without extra delay
This commit is contained in:
@@ -1 +0,0 @@
|
||||
npx lint-staged
|
||||
|
||||
@@ -147,9 +147,9 @@ export class DesktopFido2UserInterfaceSession implements Fido2UserInterfaceSessi
|
||||
|
||||
// wait for 10ms to help RXJS catch up(?)
|
||||
// We sometimes get a race condition from this.createCredential not updating cipherService in time
|
||||
console.log("waiting 10ms..");
|
||||
await new Promise((resolve) => setTimeout(resolve, 10));
|
||||
console.log("Just waited 10ms");
|
||||
//console.log("waiting 10ms..");
|
||||
//await new Promise((resolve) => setTimeout(resolve, 10));
|
||||
//console.log("Just waited 10ms");
|
||||
// Return the new cipher (this.createdCipher)
|
||||
return { cipherId: this.createdCipher.id, userVerified: userVerification };
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user