]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1513982 - Performance issues due to bad actor activity: require login for the...
authorDylan William Hardison <dylan@hardison.net>
Thu, 13 Dec 2018 18:31:05 +0000 (13:31 -0500)
committerDylan William Hardison <dylan@hardison.net>
Thu, 13 Dec 2018 18:32:19 +0000 (13:32 -0500)
showdependencygraph.cgi
showdependencytree.cgi

index 1a84e004ad233139a9fb67abdcb2d3175ba2fca9..3f3e3c1746d1db482224d062df078117ea975ac7 100755 (executable)
@@ -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;
index eecbb6de67f842eb71ac5b1d116097555f880f87..37f8f267aa48f30f186cbefa6b284fcf9bf96e59 100755 (executable)
@@ -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;