Closed
Bug 337681
Opened 19 years ago
Closed 19 years ago
When trying to impersonate someone, the UI displays the password field when using the ENV method (with user_info_class="Env,CGI")
Categories
(Bugzilla :: User Accounts, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: LpSolit, Assigned: mkanat)
References
()
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
636 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
From bug 300410 comment 24:
When trying to impersonate someone, relogin.cgi?action=prepare-sudo displays the password field with the ENV method when user_info_class="Env,CGI". The code doesn't care about the password though. Maybe this is only a minor UI thing, but it could also be a more severe bug => severity 'major'.
Assignee | ||
Comment 1•19 years ago
|
||
Yeah, I think it's only a minor UI thing.
Assignee: user-accounts → mkanat
Severity: major → normal
Priority: -- → P1
Assignee | ||
Comment 2•19 years ago
|
||
Okay, yeah, I just had forgotten to properly fix can_login.
Attachment #221805 -
Flags: review?(LpSolit)
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•19 years ago
|
||
Comment on attachment 221805 [details] [diff] [review]
v1
> sub can_login {
> my ($self) = @_;
>+ my $getter = $self->{_info_getter}->{successful};
>+ $getter = $self->{_info_getter}
>+ if (!$getter || $getter->isa('Bugzilla::Auth::Login::Cookie'));
> return $self->{_info_getter}->can_login;
> }
This looks wrong to me. Shouldn't it be:
return $getter->can_login; ?
Else why using $getter?
Assignee | ||
Comment 4•19 years ago
|
||
Oh, you're right. :-)
Attachment #221805 -
Attachment is obsolete: true
Attachment #221979 -
Flags: review?(LpSolit)
Attachment #221805 -
Flags: review?(LpSolit)
Reporter | ||
Comment 5•19 years ago
|
||
Comment on attachment 221979 [details] [diff] [review]
v2
r=LpSolit
Attachment #221979 -
Flags: review?(LpSolit) → review+
Reporter | ||
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
Reporter | ||
Comment 6•19 years ago
|
||
Checking in Bugzilla/Auth.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Auth.pm,v <-- Auth.pm
new revision: 1.15; previous revision: 1.14
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•