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 git-svn-id: svn://10.0.0.236/trunk@256954 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
77e487efef
commit
e417a47487
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user