diff options
author | mkanat%bugzilla.org <> | 2009-04-17 21:57:12 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-04-17 21:57:12 +0000 |
commit | 27d919b36377e25b74a5c46e8c5eec218c58be39 (patch) | |
tree | c3ceaa672acc9b7eb500be9945227e657c8b230f /Bugzilla/Auth/Login/Stack.pm | |
parent | 3b1bc81a53d7988a2bd22ad311f77baafc807eca (diff) | |
download | bugs-27d919b36377e25b74a5c46e8c5eec218c58be39.tar bugs-27d919b36377e25b74a5c46e8c5eec218c58be39.tar.gz bugs-27d919b36377e25b74a5c46e8c5eec218c58be39.tar.bz2 bugs-27d919b36377e25b74a5c46e8c5eec218c58be39.tar.xz bugs-27d919b36377e25b74a5c46e8c5eec218c58be39.zip |
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 <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Auth/Login/Stack.pm')
-rw-r--r-- | Bugzilla/Auth/Login/Stack.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Login/Stack.pm b/Bugzilla/Auth/Login/Stack.pm index ab9a93bce..a5752f22b 100644 --- a/Bugzilla/Auth/Login/Stack.pm +++ b/Bugzilla/Auth/Login/Stack.pm @@ -38,7 +38,7 @@ sub new { Bugzilla::Hook::process('auth-login_methods', { modules => \%methods }); $self->{_stack} = []; - foreach my $login_method (keys %methods) { + foreach my $login_method (split(',', $list)) { my $module = $methods{$login_method}; require $module; $module =~ s|/|::|g; |