Open
Bug 320726
Opened 20 years ago
Updated 12 years ago
Allow users to disconnect other concurrent sessions
Categories
(Bugzilla :: User Accounts, enhancement)
Tracking
()
ASSIGNED
People
(Reporter: LpSolit, Assigned: reed)
Details
Attachments
(1 file, 1 obsolete file)
4.33 KB,
patch
|
LpSolit
:
review-
|
Details | Diff | Splinter Review |
Assuming you logged in from computerA, then went away forgetting to log out and you are now logged in from computerB. What you would probably like to do is to be able to disconnect your session running from computerA (without having to change your password from userprefs.cgi).
This would also be useful if you realize you have a currently running session from the other part of the world (e.g. due to a stolen password). In this case, you would probably want to disconnect him too (and change your password!).
(18:11:39) joel: I had a hack to do this where, if I start from the home page and log in, I get sent back to the home page after I do log in.
(18:11:39) LpSolit: "Welcome Joel, you last login was 2 hours 13 minutes ago from China"
(18:11:47) joel: and then I displayed it on that page.
(18:12:04) joel: It would show the most recent 5 sessions on the homepage.
(18:12:48) joel: You could then make it show them with the status of ACTIVE/INACTIVE next to them and, by clicking on a session, permit it to be deactivated.
(18:13:57) LpSolit: but if someone has you password, he could do the same with your session :-/
(18:14:13) LpSolit: unless this requires another password, different from the login one
(18:14:25) LpSolit: which would probably be a good idea
Comment 1•20 years ago
|
||
This could be a good idea. Just another checkbox on the login form.
There's no reason this should require another password.
Updated•20 years ago
|
Assignee: user-accounts → bugzilla-mozilla
Updated•19 years ago
|
Target Milestone: Bugzilla 3.0 → Bugzilla 3.2
![]() |
Reporter | |
Comment 2•18 years ago
|
||
I only tested my patch with DB/CGI.
Assignee: bugzilla-mozilla → LpSolit
Status: NEW → ASSIGNED
Attachment #295220 -
Flags: review?(mkanat)
Attachment #295220 -
Flags: review?(bugzilla-mozilla)
Comment 3•18 years ago
|
||
Comment on attachment 295220 [details] [diff] [review]
patch, v1
>Index: index.cgi
>+# Checks whether the user is logged in from several places.
Should this really be on the index.cgi page? Ok, it is more secure. However, not sure if we want to (should) add this information to the index page. I think this belongs somewhere else (Accounts / userprefs.cgi).
>Index: template/en/default/global/messages.html.tmpl
>+ [% FOREACH session = sessions %]
>+ <li>
>+ Cookie: [% session.cookie FILTER html %]
>+ <b>IP: [% session.ipaddr FILTER html %]</b>
That is only an IP address is loginnetmask is set to 32. In other cases it is something between the IP address and 0.0.0.0.
Attachment #295220 -
Flags: review?(mkanat)
Attachment #295220 -
Flags: review?(bugzilla-mozilla)
Attachment #295220 -
Flags: review-
![]() |
Reporter | |
Comment 4•18 years ago
|
||
(In reply to comment #3)
> Should this really be on the index.cgi page? Ok, it is more secure.
I think that's the best place to display this information. That's the page from where users generally log in. Having it in userprefs.cgi would make it almost invisible (how often do you edit your prefs?).
> That is only an IP address is loginnetmask is set to 32. In other cases it is
> something between the IP address and 0.0.0.0.
Is that a problem? What else would you write?
Comment 5•18 years ago
|
||
Bugzilla 3.2 is now frozen. Only enhancements blocking 3.2 or specifically approved for 3.2 may be checked in to the 3.2 branch. If you would like to nominate your enhancement for Bugzilla 3.2, set "blocking3.2" tp "?", and either the target milestone will be changed back, or the blocking3.2 flag will be granted, if we will accept this enhancement for Bugzilla 3.2.
Target Milestone: Bugzilla 3.2 → Bugzilla 4.0
![]() |
Reporter | |
Updated•16 years ago
|
Assignee: LpSolit → user-accounts
Target Milestone: Bugzilla 4.0 → ---
Assignee | ||
Comment 6•15 years ago
|
||
How about this? It needs some clean-up still (mostly in how it displays stuff), but it all works...
Assignee: user-accounts → reed
Attachment #295220 -
Attachment is obsolete: true
Attachment #498977 -
Flags: review?(LpSolit)
![]() |
Reporter | |
Comment 7•15 years ago
|
||
I'm not sure userprefs is the best place to display this, for two reasons:
1) It has nothing to do with preferences or user settings;
2) Most of the time, it will be empty, or contain only very few login cookies, which I think doesn't require its own tab.
If we really think that userprefs is the best place, in that case I would prefer to reuse an existing tab, e.g the Account Information one. Opinion?
Assignee | ||
Comment 8•15 years ago
|
||
I'm fine with putting it at the bottom of Account Information.
![]() |
Reporter | |
Comment 9•14 years ago
|
||
Comment on attachment 498977 [details] [diff] [review]
patch - v1
Yes, let's do that.
Attachment #498977 -
Flags: review?(LpSolit) → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•