[drupal-devel] [bug] user_login calls user_deny with empty variable

gordon drupal-devel at drupal.org
Tue Aug 9 02:16:34 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     bug reports
 Priority:     minor
 Assigned to:  gordon
 Reported by:  bernardo
 Updated by:   gordon
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/user_29.patch (685 bytes)

a little tidier patch.


Previous comments:

Thu, 23 Sep 2004 15:14:29 +0000 : bernardo

In the user_login function, user_deny is called even if $edit['name'] is
empty (for example when the login form is displayed for the first time).
I think this performs 2 unnecessary database queries.


Mon, 08 Aug 2005 21:49:18 +0000 : gordon

Attachment: http://drupal.org/files/issues/user_28.patch (691 bytes)

here is a small problem that fixes this. It actually reduces the queries
by 4 not including and also the actual user authentication.

More information about the drupal-devel mailing list