mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
kivy: set pin_code timeout to 5 minutes
This commit is contained in:
parent
86d1e50469
commit
c2432aa125
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ class ElectrumWindow(App):
|
||||||
|
|
||||||
def on_resume(self):
|
def on_resume(self):
|
||||||
now = time.time()
|
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)
|
self.password_dialog(check_password=self.check_pin_code, on_success=None, on_failure=self.stop, is_password=False)
|
||||||
if self.nfcscanner:
|
if self.nfcscanner:
|
||||||
self.nfcscanner.nfc_enable()
|
self.nfcscanner.nfc_enable()
|
||||||
|
|
Loading…
Add table
Reference in a new issue