clear keys on logout

This commit is contained in:
Kyle Spearrin 2017-04-20 10:20:50 -04:00
parent 58c5c55d09
commit 51ae3fc62f

View file

@ -193,7 +193,7 @@ namespace Bit.App.Services
_tokenService.AuthBearer = null;
UserId = null;
Email = null;
_cryptoService.Key = null;
_cryptoService.ClearKeys();
_settings.Remove(Constants.FirstVaultLoad);
_settings.Remove(Constants.PushLastRegistrationDate);
_settings.Remove(Constants.Locked);