mirror of
https://github.com/bitwarden/android.git
synced 2026-03-11 20:54:58 -05:00
Remove redundant call to set vault to unlocked (#1217)
This commit is contained in:
committed by
Álison Fernandes
parent
4880dc58bd
commit
37fb1fadb8
@@ -363,15 +363,12 @@ class VaultLockManagerImpl(
|
||||
} else {
|
||||
// Retrieve the key. If non-null, unlock the user
|
||||
authDiskSource.getUserAutoUnlockKey(userId = userId)?.let {
|
||||
val result = unlockVaultForUser(
|
||||
unlockVaultForUser(
|
||||
userId = userId,
|
||||
initUserCryptoMethod = InitUserCryptoMethod.DecryptedKey(
|
||||
decryptedUserKey = it,
|
||||
),
|
||||
)
|
||||
if (result is VaultUnlockResult.Success) {
|
||||
setVaultToUnlocked(userId = userId)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user