summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-10-16 00:58:09 +0200
committerDylan William Hardison <dylan@hardison.net>2015-10-16 00:58:09 +0200
commita0fcc8ff20fe57bf442402ba227954ffb33a2175 (patch)
tree9a3ee457971d8c8654d1a085d2c7261b54535621 /show_bug.cgi
parentb21167f4de2d29d7ce4a7cd07266783032099568 (diff)
downloadbugzilla-a0fcc8ff20fe57bf442402ba227954ffb33a2175.tar.gz
bugzilla-a0fcc8ff20fe57bf442402ba227954ffb33a2175.tar.xz
Bug 1196626 - log all authenticated requests
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 06d17e352..fbcf4e828 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -133,6 +133,11 @@ foreach ($cgi->param("excludefield")) {
$vars->{'displayfields'} = \%displayfields;
+if ($user->id) {
+ foreach my $bug_id (@bugids) {
+ Bugzilla->log_user_request($bug_id, undef, 'bug-get');
+ }
+}
print $cgi->header($format->{'ctype'});
$template->process($format->{'template'}, $vars)