Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- 41,139 sites report using this module
- Created by AjK on , updated
- Drupal 10 is here!
8.x-1.4 is Drupal 10 compatible.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.4
released 18 July 2022
Works with Drupal: ^9.2 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-1.x-dev updated 29 Dec 2023 at 12:41 UTC
7.x-4.6
released 8 April 2020
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-4.x-dev updated 3 Apr 2020 at 08:51 UTC