From 6b5a4c8fd56d07c85ea1eda329daced0b7c16262 Mon Sep 17 00:00:00 2001 From: Miles Blackwood Date: Thu, 22 May 2025 17:08:51 -0400 Subject: [PATCH] Fix auth status condition. --- .../src/autofill/background/notification.background.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/autofill/background/notification.background.ts b/apps/browser/src/autofill/background/notification.background.ts index c6f48a45378..7c536be8121 100644 --- a/apps/browser/src/autofill/background/notification.background.ts +++ b/apps/browser/src/autofill/background/notification.background.ts @@ -402,8 +402,9 @@ export default class NotificationBackground { const passwordChangeUri = await new TemporaryNotificationChangeLoginService().getChangePasswordUrl(cipher); - const addLoginIsEnabled = await this.getEnableAddedLoginPrompt(); - const wasVaultLocked = AuthenticationStatus.Locked && addLoginIsEnabled; + const authStatus = await this.getAuthStatus(); + + const wasVaultLocked = authStatus === AuthenticationStatus.Locked; const organization = await firstValueFrom( this.organizationService