|
|
|
@ -631,11 +631,12 @@ ApplicationWindow |
|
|
|
console.log('auth using method ' + method) |
|
|
|
console.log('auth using method ' + method) |
|
|
|
|
|
|
|
|
|
|
|
if (method == 'wallet_else_pin') { |
|
|
|
if (method == 'wallet_else_pin') { |
|
|
|
// if no wallet loaded, delegate to pin auth, else use wallet password auth |
|
|
|
// if there is a loaded wallet and all wallets use the same password, use that |
|
|
|
if (!Daemon.currentWallet) { |
|
|
|
// else delegate to pin auth |
|
|
|
method = 'pin' |
|
|
|
if (Daemon.currentWallet && Daemon.singlePasswordEnabled) { |
|
|
|
} else { |
|
|
|
|
|
|
|
method = 'wallet' |
|
|
|
method = 'wallet' |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
method = 'pin' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|