These recommendations are from @jlfranklin:
I think we should start by adding a way to explicitly expire other sessions, with permissions for admins to expire a single user's sessions and for a user to expire their own. if there is a contirb module that already adds a "logout other devices" buttons, we should consider pulling it into core. If not, it's a simple enough thing to write.
I don't think the right thing to do is to simply delete all sessions on password save. There should be some more administrator control over this. As a starting point, I'll propose this:
- Add a setting to the user or system modules (user.expire_sessions_on_password_change or similar), defaulting to TRUE.
- Add code to conditionally expire sessions on password change.
- Add an "Advanced Security" module that exposes the setting with a description detailing the risk.
- The "Logout other devices" button could be added to the Advanced Security module, too.
Recent comments
Hi swampopus, I'd recommend to notify the security team first. A member of the team will contact you and the team will create a private repository for the next steps (fix the issue, find a...
Weekly Meetings Dec 3rd 2026
Security question: If we have found (or been informed of) a security issue in our own modules, do we just go ahead and put out a patch? Or is there some other process? What...
Weekly Meetings Dec 3rd 2026
I think a good place to start if you have ideas to share a mock-up of what it might look like. What I mean is not creating a new mock-up for the directory page. When we...
Improving Theme Presentation and Promoting Backdrop CMS