scrmabled PIN entry provides one mapping for both 1st and 2nd PIN part

This commit is contained in:
scgbckbone 2024-02-21 16:41:35 +01:00 committed by doc-hex
parent 074ad08911
commit 1e49d9cc81

View File

@ -161,11 +161,7 @@ class LoginUX:
# not confirming the words on Q, they see them and continue or not
self.pin_prefix = self.pin
self.pin = ''
if self.randomize:
self.shuffle_keys()
self.show_pin(True) # critical so mapping is redrawn.
else:
self.show_pin(False)
self.show_pin(False)
elif '0' <= ch <= '9':
# digit pressed