From 3bc81ca4500de62a3f505e6fc6dcc7f38702698b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 10 Sep 2018 09:41:53 -0400 Subject: [PATCH] clear org key cache when setting --- src/services/crypto.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/crypto.service.ts b/src/services/crypto.service.ts index c66db4c364..5f0e779629 100644 --- a/src/services/crypto.service.ts +++ b/src/services/crypto.service.ts @@ -76,6 +76,7 @@ export class CryptoService implements CryptoServiceAbstraction { orgKeys[org.id] = org.key; }); + this.orgKeys = null; return this.storageService.save(Keys.encOrgKeys, orgKeys); }