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

Fix auth status condition.

This commit is contained in:
Miles Blackwood
2025-05-22 17:08:51 -04:00
parent 7322cf2014
commit 6b5a4c8fd5

View File

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