-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
fix: normal logout affects all sessions #3571
Conversation
Previously all user tokens were deleted, which logouts from all sessions.
I think that if we choose to make this change, we should have a new option in a user's settings page to "log out from all devices" for security reasons. Maybe also a count of active session tokens, too? |
I don't think that having "log out from all devices" feature is a blocker for this PR. Such feature could be handled by extension, while current logout behavior is just really weird and I doubt it was intentional. |
If we make this change though, a user effectively has no way of logging out from other signed-in devices, which is a security concern. So the idea of first introducing a way to logout from all sessions, then make this change, makes sense. I believe this is also a feature in our security roadmap. |
Yeah, the potential security implications is my concern for this PR, hence why I see it as blocking. |
There was #2074 by @clarkwinkelmann that introduced a more advanced GUI for managing sessions. Ideally that would be the best solution, I guess. |
Yup, I'll be bringing that back to life in the next few days as part of the security roadmap. So let's close this for now. |
@SychO9 I restored branch, but I can't reopen this PR. |
Changes proposed in this pull request:
Previously all user tokens were deleted, which logouts from all sessions. After this change logout only works for current session.
Necessity
Confirmed
composer test
).Required changes: