Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Force Logout

Security covered Under active development 82 sites

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:

Drupal 10–11

Ask your assistant about Force Logout

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

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
7 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP 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