Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Deactivate Users

Security covered Under active development 66 sites

This module automatically deactivates user accounts that have been inactive for a specified period. Administrators can configure the inactivity limit and an optional grace period before deactivation, and also set how long an unblocked user remains active before being re-deactivated.

Security best practices (and indeed the NIST 800-53 security controls) require users who have not used a system in a defined period of time to be deactivated (blocked, in Drupal parlance.)

This module allows the administrator to specify the number of days before a user is deactivated, and when they're unblocked how long that unblock lasts before they are re-deactivated.

Post-Installation

After installing, go to Configuration > Users > Deactivate users and configure as needed. The time to actual blocking of a user is "Inactivity Limit" + "Grace Period". Some sites set it as 85 and 5 to achieve their required 90 days blocking. Be sure to personalize the email templates for your site.

Like this? Check out some of John's other modules:
Drupal 9–11

Ask your assistant about Deactivate Users

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.1.2 Stable 9–11 Sep 14, 2024
1.1.1 Stable 9–11 Sep 2, 2024
1.1.0 Stable 9–11 May 31, 2024
1.0.0 Stable 8–10 Mar 17, 2024
1.x-dev Dev 9–11 Nov 9, 2023