Closed
Bug 481526
Opened 17 years ago
Closed 16 years ago
Login page doesn't check for empty/null/missing password
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: stephend, Unassigned)
References
()
Details
(Whiteboard: [good first bug])
If you log in with a username specified but not a password, then we send the form data to the server to check.
Seems like we could check up front for an empty password, and run that function after onSubmit()
Steps to Reproduce:
1. Load https://support.mozilla.com/tiki-login_scr.php
2. Enter a username
3. Click "Log in"
Expected Results:
A local check using JS/PHP to determine whether the password field's .value == "" or NULL
Actual Results:
We send data back to the server, which takes some time, and results in:
"Error
Invalid username or password"
Comment 1•17 years ago
|
||
I would say an empty password is legitimate. It could be optional for instance.
FF shouldn't decide that an empty input is invalid. The web site can implement that check if necessary.
| Reporter | ||
Comment 2•17 years ago
|
||
(In reply to comment #1)
> I would say an empty password is legitimate. It could be optional for
> instance.
> FF shouldn't decide that an empty input is invalid. The web site can implement
> that check if necessary.
It's not optional, it's required; also, this bug isn't about Firefox...
Comment 3•17 years ago
|
||
Meh. Small enough for 1.2 :)
Assignee: nobody → paul.craciunoiu
Target Milestone: --- → 1.4
Comment 4•17 years ago
|
||
1.4...
Comment 5•17 years ago
|
||
> also, this bug isn't about Firefox...
I see. Then ignore my comment.
Updated•17 years ago
|
Target Milestone: 1.4 → Future
Updated•16 years ago
|
Hardware: x86 → All
Whiteboard: [good first bug]
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•