re-fix: bugfix: exiting custom backup password text form causes yikes

This commit is contained in:
scgbckbone 2025-10-29 20:48:19 +01:00 committed by doc-hex
parent c54b3801ce
commit bc8b55a059

View File

@ -584,7 +584,7 @@ async def restore_complete(fname_or_fd, temporary=False, words=True, usb=False):
if words is False:
ipw = await ux_input_text("", prompt="Your Backup Password",
min_len=bkpw_min_len, max_len=128)
if not pwd: return
if not ipw: return
pwd.append(ipw)
await done(pwd)