Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.4 Update released for Drupal core (2.1.4)! Release: Drupal 12.0.0-alpha1 First alpha version released for Drupal core (12.0.0-alpha1). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.9 Minor update available for module photoswipe (5.0.9). Release: AI (Artificial Intelligence) 1.4.8 Minor update available for module ai (1.4.8). Release: AI (Artificial Intelligence) 1.3.13 Minor update available for module ai (1.3.13). Release: Moderated Content Bulk Publish 2.0.53 Minor update available for module moderated_content_bulk_publish (2.0.53). Release: Mailchimp 2.2.9 Minor update available for module mailchimp (2.2.9). Release: Mailchimp 3.1.4 Minor update available for module mailchimp (3.1.4). Module Revived: Image field to media 3.0.2 Module image_field_to_media updated after 13 months of inactivity (3.0.2). Security Coverage: Analyze PostHog Module analyze_posthog now has official Drupal security advisory coverage.

Browser Force Logout

2 sites No security coverage Drupal 8–10 · not 11
View on drupal.org

This module automatically logs out users when they close their browser, enhancing security by preventing unauthorized access to accounts. It seamlessly integrates, offers configurable options to exclude specific roles, and ensures user sessions are terminated immediately for peace of mind.

Force Logout When Browser Closed is a powerful security module for Drupal that ensures user sessions are securely terminated when the browser is closed. With this module, you can safeguard user accounts by automatically logging them out, preventing unauthorized access in case the browser is accidentally left open or if the user forgets to log out.

The module provides an extra layer of protection to prevent session hijacking and unauthorized access to sensitive information. It actively monitors the browser session and immediately terminates the user's session when the browser window or tab is closed, offering peace of mind for site administrators and users alike.

Features

Key features of the module include:

Seamless Integration: The module seamlessly integrates into your Drupal installation, offering a simple and straightforward setup process.

Automatic Session Termination: User sessions are automatically terminated as soon as the browser window or tab is closed, ensuring maximum security for your site and user accounts.

Configurable Options: Customize the behavior of the module to fit your specific requirements. You can choose to exclude roles and the option to enable and disable the feature.

Post-Installation

Once installed the module, please visit the configuration page to manage the options.

Additional Requirements

The user path should not be changed.

Not at this moment.

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
1
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.1 Stable 8–10 Jun 4, 2026