Skip to content
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

Logout all users action doesn't work with custom session handlers #15928

Open
sergant210 opened this issue Dec 4, 2021 · 1 comment · May be fixed by #16522
Open

Logout all users action doesn't work with custom session handlers #15928

sergant210 opened this issue Dec 4, 2021 · 1 comment · May be fixed by #16522
Assignees
Labels
bug The issue in the code or project, which should be addressed.

Comments

@sergant210
Copy link
Collaborator

Bug report

Summary

If you have specified your own session handlers, you will not be able to flush all user sessions.

Step to reproduce

  1. Create a new session handler which extends the modSessionHandler class.
  2. Specify it in the system setting "session_handler_class".
  3. Try to logout all users in the admin panel (Manage/Logout all users).

Observed behavior

flush_sessions

There are 2 problems

  1. Corresponding lexicon topic is not loaded.
  2. Sessions are not deleted.

The problem is in the very strange check. So we have got a system setting for extending the handler class, but we cannot change it.

Environment

MODX 2.x, MODX 3 Beta 2.

@sergant210 sergant210 added the bug The issue in the code or project, which should be addressed. label Dec 4, 2021
@sergant210 sergant210 self-assigned this Dec 4, 2021
@Ibochkarev
Copy link
Collaborator

Related #15510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue in the code or project, which should be addressed.
Projects
None yet
2 participants