mirror of
https://github.com/bitwarden/android.git
synced 2026-03-22 12:32:53 -05:00
Remove needsPasswordReset from isVaultUnlocked logic (#1256)
This commit is contained in:
committed by
Álison Fernandes
parent
e0b8405562
commit
bc350773be
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user