- Issue created by @GiantBx
- Status changed to Closed: works as designed
11 months ago 12:25pm 24 December 2023 - π¬π§United Kingdom philipnorton42 Cheshire
Thanks very much for reporting this issue.
Unfortunately, there is no action that delete's all of the sessions from a site.
I think the route you are thinking about is "session_inspector.delete_all", but this is designed to delete all _other_ sessions for a single user. Essentially, this will clear out the sessions that is not currently active for a single user.
I deliberately didn't add functionality to clear out all sessions for all users since this can easily break the user experience. There are also other ways to do this (like truncating the sessions table for example).
Someone did suggest adding a drush command to clear out sessions (https://drupal.org/project/session_inspector/issues/3337515), but that issue hasn't been integrated.