Closed (fixed)
Project:
User Maintenance
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2007 at 17:53 UTC
Updated:
30 Mar 2007 at 22:22 UTC
Hi, running Drupal 5.1, 2007-01-29.
I found an inconsistency in user.module around line 932:
form_set_error('login', t('Sorry, unrecognized username or password. <a href="@password">Have you forgotten your password?</a>', array('@password' => url('user/password'))));
It should be:
form_set_error('name', t('Sorry, unrecognized username or password. <a href="@password">Have you forgotten your password?</a>', array('@password' => url('user/password'))));
Other parts of the module are using 'login' instead of 'name' as element name in form_set_error().
Comments
Comment #1
philmcdonnell commentedHello,
I believe you posted this in the wrong section. This section is for the user_maintenance module, not for the user.module which is part of Drupal core.
Regards,
Phil