From 51ae3fc62fc0d7fc092bacd660feeea67355ef9c Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 20 Apr 2017 10:20:50 -0400 Subject: [PATCH] clear keys on logout --- src/App/Services/AuthService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Services/AuthService.cs b/src/App/Services/AuthService.cs index 495306767..5a299c1ea 100644 --- a/src/App/Services/AuthService.cs +++ b/src/App/Services/AuthService.cs @@ -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);