summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 9e5177839..b7aaadf3f 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -317,7 +317,7 @@ sub github_secret {
my $cache = $class->request_cache;
my $cgi = $class->cgi;
- $cache->{github_secret} //= $cgi->cookie('github_secret') // generate_random_password(16);
+ $cache->{github_secret} //= $cgi->cookie('github_secret') // generate_random_password(256);
return $cache->{github_secret};
}
@@ -853,7 +853,7 @@ sub check_rate_limit {
$action = 'ignore';
}
my $limit = join("/", @$limit);
- Bugzilla->audit("[rate_limit] action=$action, ip=$ip, limit=$limit");
+ Bugzilla->audit("[rate_limit] action=$action, ip=$ip, limit=$limit, name=$name");
ThrowUserError("rate_limit") if $action eq 'block';
}
}