mirror of
https://github.com/bitwarden/android.git
synced 2026-06-02 11:12:00 -05:00
Persist device key past a logout (#1207)
This commit is contained in:
committed by
Álison Fernandes
parent
d7e3b74c25
commit
6390fe1ab4
@@ -126,12 +126,14 @@ class AuthDiskSourceImpl(
|
||||
storePrivateKey(userId = userId, privateKey = null)
|
||||
storeOrganizationKeys(userId = userId, organizationKeys = null)
|
||||
storeOrganizations(userId = userId, organizations = null)
|
||||
storeDeviceKey(userId = userId, deviceKey = null)
|
||||
storePendingAuthRequest(userId = userId, pendingAuthRequest = null)
|
||||
storeUserBiometricUnlockKey(userId = userId, biometricsKey = null)
|
||||
storeMasterPasswordHash(userId = userId, passwordHash = null)
|
||||
storePolicies(userId = userId, policies = null)
|
||||
storeAccountTokens(userId = userId, accountTokens = null)
|
||||
|
||||
// Do not remove the DeviceKey on logout, that is persisted indefinitely unless
|
||||
// the server no longer trusts the device.
|
||||
}
|
||||
|
||||
override fun getLastActiveTimeMillis(userId: String): Long? =
|
||||
|
||||
Reference in New Issue
Block a user