-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add user sessions page #3278
Add user sessions page #3278
Conversation
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
$user_sessions_list = []; | ||
|
||
// TODO: Should we display all sessions, or just active ones? Over time, the list could get very long if we display all sessions. | ||
// Not really any reason to show inactive ones, since they can't action on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Showing inactive ones can help us find if the account has been compromised or not, Hiding sessions could miss unwanted logins
modules/Core/pages/user/sessions.php
Outdated
$sessions = $user->getActiveSessions(); | ||
$sessions_list = []; | ||
// TODO: Should we display all sessions, or just active ones? Over time, the list could get very long if we display all sessions. | ||
// Not really any reason to show inactive ones, since they can't action on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Showing inactive ones can help us find if the account has been compromised or not, Hiding sessions could miss unwanted logins
66e376f
to
3cc81a3
Compare
4d7fc41
to
b75b7bf
Compare
666c80e
to
c0712ff
Compare
e4a6812
to
a746315
Compare
Replaces #3104

