From 27d919b36377e25b74a5c46e8c5eec218c58be39 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 17 Apr 2009 21:57:12 +0000 Subject: Bug 488467: Verify and Login auth methods were being called in a random order, causing sudo sessions to frequently not need the user to re-enter their password. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- Bugzilla/Auth/Verify/Stack.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Auth/Verify') diff --git a/Bugzilla/Auth/Verify/Stack.pm b/Bugzilla/Auth/Verify/Stack.pm index 0ddb9a441..c23b532fd 100644 --- a/Bugzilla/Auth/Verify/Stack.pm +++ b/Bugzilla/Auth/Verify/Stack.pm @@ -33,7 +33,7 @@ sub new { Bugzilla::Hook::process('auth-verify_methods', { modules => \%methods }); $self->{_stack} = []; - foreach my $verify_method (keys %methods) { + foreach my $verify_method (split(',', $list)) { my $module = $methods{$verify_method}; require $module; $module =~ s|/|::|g; -- cgit v1.2.3-24-g4f1b