Commit 27d919b3 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 488467: Verify and Login auth methods were being called in a random order,…

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
parent 3b1bc81a
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment