From 62add53c08112275a83948b9c04d2905a6723699 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 30 Aug 2017 22:15:10 -0400 Subject: [PATCH] clear org key cache --- src/App/Services/CryptoService.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/App/Services/CryptoService.cs b/src/App/Services/CryptoService.cs index 8185b1da0..af175a798 100644 --- a/src/App/Services/CryptoService.cs +++ b/src/App/Services/CryptoService.cs @@ -203,12 +203,9 @@ namespace Bit.App.Services else if(_settings.Contains(OrgKeysKey)) { _settings.Remove(OrgKeysKey); - _orgKeys = null; - } - else - { - _orgKeys = null; } + + _orgKeys = null; } public SymmetricCryptoKey GetOrgKey(string orgId)