mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
only clear memory org keys when locked
This commit is contained in:
@@ -756,7 +756,7 @@ function checkLock() {
|
||||
|
||||
if (diffSeconds >= lockOptionSeconds) {
|
||||
// need to lock now
|
||||
Q.all([cryptoService.clearKey(), cryptoService.clearOrgKeys()]).then(function () {
|
||||
Q.all([cryptoService.clearKey(), cryptoService.clearOrgKeys(true)]).then(function () {
|
||||
cryptoService.clearPrivateKey();
|
||||
setIcon();
|
||||
folderService.clearCache();
|
||||
|
||||
Reference in New Issue
Block a user