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 --- token.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'token.cgi') diff --git a/token.cgi b/token.cgi index 560930385..3522834aa 100755 --- a/token.cgi +++ b/token.cgi @@ -114,7 +114,7 @@ if ( $action eq 'reqpw' ) { $user_account = Bugzilla::User->check($login_name); # Make sure the user account is active. - if ($user_account->is_disabled) { + if (!$user_account->is_enabled) { ThrowUserError('account_disabled', {disabled_reason => get_text('account_disabled', {account => $login_name})}); } -- cgit v1.2.3-24-g4f1b