summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-10 01:18:03 +0100
committertravis%sedsystems.ca <>2005-03-10 01:18:03 +0100
commit672d71471ee2ddae6005a9259789899c41264823 (patch)
treeaac906cd42b2873fca45baeff2a1100b321b70ac /sanitycheck.cgi
parent82bc36a9ccc7a9a0808c2d4c0e8b7d44eb1e63dd (diff)
downloadbugzilla-672d71471ee2ddae6005a9259789899c41264823.tar.gz
bugzilla-672d71471ee2ddae6005a9259789899c41264823.tar.xz
Bug 282574 : use the new "auth_failure" error message for all authentication failures
Patch by Frederic Buclin <LpSolit@gmail.com> r=travis, wurblzap a=myk
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 63ddf181f..30a07be5b 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -82,7 +82,9 @@ my $dbh = Bugzilla->dbh;
# prevents users with a legitimate interest in Bugzilla integrity
# from accessing the script).
UserInGroup("editbugs")
- || ThrowUserError("sanity_check_access_denied");
+ || ThrowUserError("auth_failure", {group => "editbugs",
+ action => "run",
+ object => "sanity_check"});
print "Content-type: text/html\n";
print "\n";