clear cache on logout (#1375)

This commit is contained in:
Matt Portune 2021-04-19 15:38:49 -04:00 committed by GitHub
parent 3b2b37b3b0
commit 10ea6a86e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ namespace Bit.App
_collectionService.ClearAsync(userId),
_passwordGenerationService.ClearAsync(),
_vaultTimeoutService.ClearAsync(),
_stateService.PurgeAsync());
_stateService.PurgeAsync(),
_deviceActionService.ClearCacheAsync());
_vaultTimeoutService.BiometricLocked = true;
_searchService.ClearIndex();
_authService.LogOut(() =>