Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Field populating / validation #39

Open
Zauberfisch opened this issue Apr 3, 2014 · 1 comment
Open

Password Field populating / validation #39

Zauberfisch opened this issue Apr 3, 2014 · 1 comment
Labels

Comments

@Zauberfisch
Copy link
Contributor

when the OrderForm is submitted and returns with a validation error, the Password Field is populated with the submitted password.

The problem is that the field consist out of 2 inputs that check that you have entered the correct password twice.
now lets assume you enter the following:

  1. somepass
  2. someotherpass

after submitting, it will display an error like "Passwords have to match", but populates the field with:

  1. somepass
  2. somepass

so I could just resubmit the form and now it would work.
this however is a big problem, because if I misspelled my first password and accidentally do that 2nd submit, my account would be created with a wrong password.

In my opinion the password field should either not be populated at all, or only if the passwords matched.

@frankmullenger
Copy link
Contributor

@Zauberfisch agreed, populate only if the passwords match would be ideal I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants