Closed
Bug 446360
Opened 17 years ago
Closed 17 years ago
Display error when a (half-)empty login form is submitted
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
3.4.7
People
(Reporter: stephend, Assigned: wenzel)
References
()
Details
Attachments
(1 file)
|
786 bytes,
patch
|
u278084
:
review+
|
Details | Diff | Splinter Review |
While building out my automated Selenium testcases for AMO, I noticed that the login form validation on https://preview.addons.mozilla.org/en-US/firefox/users/login isn't working.
Steps to Reproduce:
1. Load https://preview.addons.mozilla.org/en-US/firefox/users/login
2. Clear the textfields
3. Click "Log in"
Expected Results:
As on production, it should throw "Wrong username or password!"
Actual Results:
"Please confirm your user account first with the code you received by email.
A link to activate your user account was sent by email to your address . You have to click it before you can log into Firefox Add-ons.
If you did not receive the confirmation email, make sure your email service did not mark it as "junk mail" or "spam". If you need to, you can have us resend the confirmation message to your email address mentioned above."
| Reporter | ||
Updated•17 years ago
|
| Reporter | ||
Comment 1•17 years ago
|
||
Brandon: is this a potential security risk?
| Assignee | ||
Comment 2•17 years ago
|
||
The preview db is out of sync (as usual :-/ I thought that was auto-updated somehow?) -- other that that, this is a dupe of bug 434540, sorry.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 3•17 years ago
|
||
Reopening: While this problem is fixed in production, I think we should throw the usual "this field must not be empty" error if you submit the form with either field empty. Putting it into the database in the first place when it's clearly invalid is not good.
I'll tackle this as part of 3.4.7.
Status: RESOLVED → REOPENED
Keywords: regression
Resolution: DUPLICATE → ---
Target Milestone: 3.4.6 → 3.4.7
Version: unspecified → 3.2
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → fwenzel
Status: REOPENED → NEW
| Assignee | ||
Updated•17 years ago
|
Summary: Login validation isn't working for empty email and password textfields → Display error when a (half-)empty login form is submitted
| Assignee | ||
Updated•17 years ago
|
Severity: major → minor
| Assignee | ||
Comment 4•17 years ago
|
||
This throws the "bad login" error if any of the two fields is empty (instead of even trying to find the right user in the DB).
Attachment #333578 -
Flags: review?(cdolivei.bugzilla)
Comment on attachment 333578 [details] [diff] [review]
throw error on empty login field
Looks good from my testing
Attachment #333578 -
Flags: review?(cdolivei.bugzilla) → review+
| Assignee | ||
Comment 6•17 years ago
|
||
I checked this in to r17656. Thanks!
Status: NEW → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•