From 32418fc424e945286c0cf78f4e3276efb2b6ece2 Mon Sep 17 00:00:00 2001 From: Jeffrey Holland Date: Sun, 30 Mar 2025 14:55:33 +0200 Subject: [PATCH] Change how timeout is handled --- .../autofill/services/desktop-fido2-user-interface.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts index 2b65c32018a..ceb8e2df845 100644 --- a/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts +++ b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts @@ -329,7 +329,7 @@ export class DesktopFido2UserInterfaceSession implements Fido2UserInterfaceSessi this.authService.activeAccountStatus$.pipe( filter((s) => s === AuthenticationStatus.Unlocked), take(1), - timeout(30000), + timeout({ first: 30000, with: () => of(AuthenticationStatus.Locked) }), ), ); if (status2 !== AuthenticationStatus.Unlocked) {