Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: killes@www.drop.org commentedbackported
Comment #4
(not verified) CreditAttribution: commented