Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

Force Logout

90 sites Security covered
View on drupal.org

This module allows site administrators to force all users to log out, preventing new logins while keeping the site accessible to anonymous visitors, which is helpful for maintenance tasks without enabling maintenance mode. It also provides options to bypass this action and manually log out individual users.

Force Logout module allows administrators to force logout all authenticated users and prevent new logins, while keeping the site accessible to anonymous visitors. This is useful during database migrations or maintenance tasks where you need users logged out but don't want to enable "maintenance mode".

Features:

  • Force logout all users who don't have the "bypass force logout" permission.
  • Block new logins with a configurable message.
  • Configurable redirect URL after force logout (e.g. /user/login, /node/1).
  • Force logout a single user from their profile tab (with confirmation).
  • Delete all sessions (except yours) with one click.
  • Active sessions count on the settings page.
  • Configuration translation support.

Settings: Configuration > People > Force Logout (/admin/config/people/force-logout)

Permissions:

  • administer force logout — Access settings and force logout users.
  • bypass force logout — Stay logged in and login while force logout is active.

Similar Projects:

Activity

Total releases
3
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.1 Stable Mar 13, 2026
3.0.0 Stable Mar 13, 2026
3.0.x-dev Dev Mar 13, 2026