Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Force Logout

90 sites Security covered Drupal 10–11
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:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

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