diff --git a/keepassxc-browser/keepassxc-browser.js b/keepassxc-browser/keepassxc-browser.js index 88c7064..2f8c2c3 100755 --- a/keepassxc-browser/keepassxc-browser.js +++ b/keepassxc-browser/keepassxc-browser.js @@ -1172,7 +1172,7 @@ cip.detectDatabaseChange = function() { browser.runtime.sendMessage({ action: 'check_databasehash' }).then((response) => { - if (response.new === 'no-hash') { + if (response.new === 'no-hash' && response.old !== 'no-hash') { cipEvents.clearCredentials(); browser.runtime.sendMessage({