From ea6b82f1303f86e5b62ea23985cc47cea5454f9b Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 5 Jul 2011 11:06:37 -0400 Subject: Bug 658929 - User autocomplete is very slow when there are lots of users in the profiles table r/a=mkanat --- Bugzilla/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Auth.pm') diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index e6127d32a..938541f56 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -86,7 +86,7 @@ sub login { # Make sure the user isn't disabled. my $user = $login_info->{user}; - if ($user->disabledtext) { + if (!$user->is_enabled) { return $self->_handle_login_result({ failure => AUTH_DISABLED, user => $user }, $type); } -- cgit v1.2.3-24-g4f1b