Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

user_expire

2,547 sites Security covered
View on drupal.org

This module allows an administrator to define a date on which to expire a specific user account or to define a period at a role level where inactive accounts will be locked.

You need this module if:

  • A user (such as contractors or short-term employee) are only active for a set period of time until their Drupal account should be disabled
  • You want to lock accounts if a user is inactive for a period of days, (e.g., 90 days for PCI Compliance)
  • You want to give someone access to a site for a brief period to test it out and then revoke their access after a specific number of days
  • This module is helpful to achieve compliance with PCI DSS requirement 8.1.4: Remove/disable inactive user accounts within 90 days

This module currently has automated tests for all of the key features. The code meets the Drupal coding standards. There is a stable release, so you can be confident that any security issues will be handled by the security advisory process.

Follow Drupal Documentation for unblocking a user manually.

Drupal 11 Users

Drupal 11 users who had previously updated to 8.x-1.2 should update to a 2.1.x version for full compatibility.

Upgrade guides

Similar modules

  • Role expire - for expiring (removing) a role from a user after a set period.

Activity

Total releases
3
First release
Dec 2024
Latest release
10 months ago
Release cadence
120 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
2.1.2 Stable Jul 31, 2025
2.1.1 Stable Jul 17, 2025
2.x-dev Dev Dec 4, 2024