Closed
Bug 1185241
Opened 9 years ago
Closed 9 years ago
Logging out when or after impersonating a user doesn't delete cookies from the logincookies table correctly
Categories
(Bugzilla :: User Accounts, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file, 1 obsolete file)
6.75 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
When impersonating a user, a new logincookie is created in the DB, using the sudoer ID. If you click "log out" while impersonating a user, no logincookie is removed from the DB. If you first click "end session" and then "log out", only the logincookie created when starting the sudo session is removed. The original logincookie is still stored in the DB.
Assignee | ||
Updated•9 years ago
|
Summary: Logging out when or after impersonating a user doesn't delete cookies from the logincookies correctly → Logging out when or after impersonating a user doesn't delete cookies from the logincookies table correctly
Assignee | ||
Comment 1•9 years ago
|
||
I have a fix for this bug, but to avoid duplicating code, I need the new check_current_password() method that sgreen is implementing in bug 670669.
Assignee | ||
Comment 2•9 years ago
|
||
Not requesting review yet, because some code in relogin.cgi can be replaced by check_current_password() once this method is available, see my previous comment. /me likes when fixing a bug means removing a lot of useless code. :)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8635785 -
Attachment is obsolete: true
Attachment #8651513 -
Flags: review?(dkl)
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → Bugzilla 6.0
Comment 4•9 years ago
|
||
Comment on attachment 8651513 [details] [diff] [review] patch, v1.1 Review of attachment 8651513 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl
Attachment #8651513 -
Flags: review?(dkl) → review+
Updated•9 years ago
|
Flags: approval?
Assignee | ||
Comment 5•9 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git a72defc..3db657e master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: approval?
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•