Commit fc2b9ab2 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 337681: When trying to impersonate someone, the UI displays the password…

Bug 337681: When trying to impersonate someone, the UI displays the password field when using the ENV method (with user_info_class="Env,CGI") - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
parent b1fe1ec6
......@@ -108,7 +108,10 @@ sub can_change_password {
sub can_login {
my ($self) = @_;
return $self->{_info_getter}->can_login;
my $getter = $self->{_info_getter}->{successful};
$getter = $self->{_info_getter}
if (!$getter || $getter->isa('Bugzilla::Auth::Login::Cookie'));
return $getter->can_login;
}
sub can_logout {
......
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