The Backend Logout Lite plugin is a lightweight and user-friendly tool for managing backend user session behavior in OctoberCMS. It provides a simple yet effective way to enhance security and usability by automatically logging out idle users after a specified duration. Additionally, the plugin allows administrators to customize the logout message displayed to users.
This plugin introduces a column in user table to track backend users' last activity dates. Middleware continuously monitors and enforces session timeouts based on this activity log. When a user exceeds the specified inactivity limit:
Backend Behavior:
The user is automatically logged out and redirected to the backend login page. A custom message (configured in the backend settings) informs the user of the session timeout.
Frontend Behavior: If the user was on a frontend page, they remain on the page but see the same informational message about the session timeout. No redirection occurs for frontend users.
No AJAX or JS was used. The whole process is done on pure backend middleware.
Default expiration time is set to 30 minutes.
After installation plugin will register under Team tab.
-
This plugin has not been reviewed yet.
-
1.0.1 |
First version of BackendLogoutLite Dec 25, 2024 |
---|