BenoitZugmeyer/pass-web

Clearing passphrase input box on bad passphrase

Closed this issue · 0 comments

ARR8 commented

Hello,

Currently, entering an incorrect passphrase does not clear the input box. Normally, this would be fine, but this means that if the second attempt to enter the password is also incorrect, there is no feedback as to whether the passphrase submitted at all, like the appearance of the "Error: bad passphrase" text the first time around.

A simple quality-of-life fix for this would be to simply clear the input box on incorrect attempts. This would also presumably save a couple of keystrokes if the user does not know where the typo was and has to clear the input box.