You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which operating systems have you tested for this bug?
macOS
Which server did you use?
apache
Database
MariaDB 10.2
Did you customize Shield?
No
What happened?
When I ban a user, if the user is still logged in, they are not automatically logged out. This means they remain logged in until they log out themselves or the session expires.
Activity
datamweb commentedon Sep 10, 2024
If you're using session-based authentication, you need to ensure that the session filter is correctly set up to automatically log out banned users.
https://shield.codeigniter.com/quick_start_guide/using_session_auth/#protecting-pages
kenjis commentedon Sep 10, 2024
Banning feature just changes the user status. It does not log the user out.
See https://shield.codeigniter.com/user_management/banning_users/
arashsaffari commentedon Sep 10, 2024
That was the problem. Now that I have set the session filter, it works again. Thank you!