Clear the users auto-unlock key on logout (#561)

This commit is contained in:
Brian Yencho
2024-01-10 10:10:22 -06:00
committed by Álison Fernandes
parent 125c304d12
commit 3c00a41d84
2 changed files with 26 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ class AuthRepositoryImpl constructor(
authDiskSource.apply {
storeUserKey(userId = userId, userKey = null)
storePrivateKey(userId = userId, privateKey = null)
storeUserAutoUnlockKey(userId = userId, userAutoUnlockKey = null)
storeOrganizationKeys(userId = userId, organizationKeys = null)
storeOrganizations(userId = userId, organizations = null)
}