Closed (fixed)
Project:
Drupal core
Version:
4.7.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2007 at 03:11 UTC
Updated:
1 May 2007 at 09:46 UTC
user_login_validate() uses form_set_error() incorrectly three times by referring to element login. The correct element is name.
Due to this the user name text box is not correctly highlighted when invalidad login credentials are entered.
Patch replaces 'login' by 'name' in relevant form_set_error() calls.
| Comment | File | Size | Author |
|---|---|---|---|
| user_login_validate.patch | 1.74 KB | alexis |
Comments
Comment #1
dries commentedCommitted this to CVS HEAD. Still needs to be tested and committed for DRUPAL-5 (and potentially, DRUPAL-4-7).
Comment #2
drummCommitted to 5.
Comment #3
killes@www.drop.org commentedbackported
Comment #4
(not verified) commented