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)

defect
Not set
minor

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"
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.
(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...
Meh. Small enough for 1.2 :)
Assignee: nobody → paul.craciunoiu
Target Milestone: --- → 1.4
1.4...
> also, this bug isn't about Firefox... I see. Then ignore my comment.
Target Milestone: 1.4 → Future
Hardware: x86 → All
Whiteboard: [good first bug]
Unassigning a few [good first bug]s.
Assignee: paulc → nobody
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.