1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Change how timeout is handled

This commit is contained in:
Jeffrey Holland
2025-03-30 14:55:33 +02:00
parent e06105e791
commit 32418fc424

View File

@@ -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) {