HackGT / ground-truth

🛰 Single sign on for HackGT apps
https://login.hack.gt
MIT License
7 stars 2 forks source link

Ignore/disable input on the hidden password field #17

Closed evan10s closed 5 years ago

evan10s commented 5 years ago

Even when a user is on the first screen asking for an email address, it's possible for a browser (or curious user) to still fill the hidden password field. This most often results in the user getting what appears to be an erroneous "Incorrect username or password" error. The password field's content should be ignored on submit if it was not visible when the user was filling out the form (a server-side solution would be better though).