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 --- buglist.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 5eadd906e..18ccde0d7 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -73,7 +73,10 @@ my $dotweak = $::FORM{'tweak'} ? 1 : 0; # Log the user in if ($dotweak) { Bugzilla->login(LOGIN_REQUIRED); - UserInGroup("editbugs") || ThrowUserError("insufficient_privs_for_multi"); + UserInGroup("editbugs") + || ThrowUserError("auth_failure", {group => "editbugs", + action => "modify", + object => "multiple_bugs"}); GetVersionTable(); } else { -- cgit v1.2.3-24-g4f1b