commit c2432aa1251a4f2775d90ff67c1896997b564e1a
parent 86d1e50469377f8e6bc118ec6118ce1e187d3414
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 21 Feb 2020 11:33:07 +0100
kivy: set pin_code timeout to 5 minutes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py
@@ -953,7 +953,7 @@ class ElectrumWindow(App):
def on_resume(self):
now = time.time()
- if self.wallet and self.wallet.has_password() and now - self.pause_time > 60:
+ if self.wallet and self.wallet.has_password() and now - self.pause_time > 5*60:
self.password_dialog(check_password=self.check_pin_code, on_success=None, on_failure=self.stop, is_password=False)
if self.nfcscanner:
self.nfcscanner.nfc_enable()