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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user