Remove needsPasswordReset from isVaultUnlocked logic (#1256)

This commit is contained in:
David Perez 2024-04-11 14:55:15 -05:00 committed by Álison Fernandes
parent e0b8405562
commit bc350773be

View file

@ -120,7 +120,7 @@ fun UserStateJson.toUserState(
.toEnvironmentUrlsOrDefault(),
isPremium = profile.hasPremium == true,
isLoggedIn = isLoggedInProvider(userId),
isVaultUnlocked = vaultUnlocked && !needsPasswordReset,
isVaultUnlocked = vaultUnlocked,
needsPasswordReset = needsPasswordReset,
organizations = userOrganizationsList
.find { it.userId == userId }