Separate username and password validation on Log In screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Fix Released
|
Medium
|
Anand Chitipothu |
Bug Description
Hi Anand,
On the Upstream Log In screen, if I enter either an incorrect username or password, I need to be informed of which of them is incorrect, or if they are both incorrect.
I just tested the login, and entered an incorrect password with my normal username. The error message said: "Invalid username or password"
1) If the username is incorrect, we need to display a message that reads "The username you entered isn't in the Open Library system. Please try again?"
2) If the password is incorrect, we need to display a message that reads "That password seems incorrect. Please try again, or, if you've forgotten it, have your _password reset_."
3) If both username and password are incorrect, just show both messages. (Though, ideally, we would provide a third note that reads "Hmm... We don't recognize the username or the password you supplied. Please try again?")
* Note, errors should read as complete sentences, with punctuation
* If you'd like me to write things for you, that's absolutely no problem.
Changed in openlibrary: | |
assignee: | nobody → Anand Chitipothu (anandology) |
importance: | Undecided → High |
milestone: | none → upstream |
importance: | High → Medium |
status: | New → Confirmed |
Changed in openlibrary: | |
status: | Confirmed → Fix Committed |
Changed in openlibrary: | |
status: | Fix Committed → Fix Released |
The code is in /vendor/ infogami/ infogami/ infobase/ server. py
The logic needs to change to check if a user exists before trying to login.