elekto-io/elekto

require passphrase confirmation

Opened this issue · 2 comments

Feature request for a small enhancement: When setting a passphrase while voting, we should require entering it identically in a second field to help prevent setting a typo-ed passphrase and not being able to recall it. I think this is a pretty common "password change" pattern.

Agreed, this is a desireable feature.

We should also validate it is long enough client side before submitting the form. I did a passphrase less than 8 characters and had to do the ordering again after it submitted and refreshed.