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.

CommentFileSizeAuthor
user_login_validate.patch1.74 KBalexis
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Committed this to CVS HEAD. Still needs to be tested and committed for DRUPAL-5 (and potentially, DRUPAL-4-7).

drumm’s picture

Version: 5.x-dev » 4.7.x-dev

Committed to 5.

killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

backported

Anonymous’s picture

Status: Fixed » Closed (fixed)