Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module provides a site administrator the ability to log users out after a specified time of inactivity.
It is highly customisable and includes "site policies" by role to enforce logout.
Try it out on Simplytest.me
Features
- Different timeouts based on role
- Disabling of timeouts based on role
- Permission for users to set their own timeout
- Includes some JS mechanisms to keep uses logged in even if multiple tabs are open or if the user is working on a form for a long period of time.
- Includes developer hooks to allow users to remain logged in depending on your own project specific requirements
- Optional integration with Javascript Timer
Old Versions
The 7.x-5.x branch was discontinued. Only use the 7.x-4.x branch releases for Drupal 7.
Recommended modules
- Session Limit - For limiting the maximum number of logged in sessions a user can have.
- Password Policy - For enforcing password length, complexity and renewal.
More information
Checkout this blog post from Lullabot Module Monday: Auto Logout
Supporting organizations:
Drupal 7 maintenance
Drupal 8 release and maintenance
Drupal 8 maintenance
Drupal 9/10 Porting and Maintenance
Project information
- Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues. - 43,398 sites report using this module
- Created by AjK on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.