mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #832 from keepassxreboot/fix/windows_auto_reconnect
Fix auto-reconnect with Windows
This commit is contained in:
commit
1020a8b0bf
1 changed files with 3 additions and 1 deletions
|
|
@ -1112,7 +1112,9 @@ keepass.decrypt = function(input, nonce) {
|
|||
keepass.enableAutomaticReconnect = function() {
|
||||
// Disable for Windows if KeePassXC is older than 2.3.4
|
||||
if (!page.settings.autoReconnect
|
||||
|| (navigator.platform.toLowerCase().includes('win') && !keepass.compareVersion('2.3.4', keepass.currentKeePassXC))) {
|
||||
|| (navigator.platform.toLowerCase().includes('win')
|
||||
&& keepass.currentKeePassXC
|
||||
&& !keepass.compareVersion('2.3.4', keepass.currentKeePassXC))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue