From: Dylan William Hardison Date: Thu, 13 Dec 2018 18:31:05 +0000 (-0500) Subject: Bug 1513982 - Performance issues due to bad actor activity: require login for the... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af3f79aa20ed652df90ca45c6bc1107a270e55c;p=thirdparty%2Fbugzilla.git Bug 1513982 - Performance issues due to bad actor activity: require login for the dependency graphs --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 1a84e004a..3f3e3c174 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -22,7 +22,7 @@ use Bugzilla::Error; use Bugzilla::Bug; use Bugzilla::Status; -Bugzilla->login(); +Bugzilla->login(LOGIN_REQUIRED); my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; diff --git a/showdependencytree.cgi b/showdependencytree.cgi index eecbb6de6..37f8f267a 100755 --- a/showdependencytree.cgi +++ b/showdependencytree.cgi @@ -13,12 +13,13 @@ use warnings; use lib qw(. lib local/lib/perl5); use Bugzilla; +use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Bug; use List::Util qw(max); -my $user = Bugzilla->login(); +my $user = Bugzilla->login(LOGIN_REQUIRED); my $cgi = Bugzilla->cgi; my $template = Bugzilla->template;