From 672d71471ee2ddae6005a9259789899c41264823 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Thu, 10 Mar 2005 00:18:03 +0000 Subject: Bug 282574 : use the new "auth_failure" error message for all authentication failures Patch by Frederic Buclin r=travis, wurblzap a=myk --- sanitycheck.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sanitycheck.cgi') 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"; -- cgit v1.2.3-24-g4f1b