Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Require Login

5,236 sites Security covered Drupal 9–11
View on drupal.org

This module provides a simple way to force all users to log in before accessing any page on the website. It offers flexible configuration options, allowing administrators to set specific conditions for access control and integrate with other security systems.

Provides catch-all solution to easily require user authentication on all pages. Quick to configure and fully compatible with any other access control systems. Integrates with the Drupal condition plugin system for granular access control based on any of the default or installed plugins.

Route name conditions

Install https://www.drupal.org/project/route_condition module to set requirements using route names. Otherwise, use the Request Path condition provided out of the box.

Usage

  1. Download and install the module. Recommended install method is composer:
    composer require drupal/require_login
  2. Go to /admin/config/people/login-requirements to configure.
  3. Set configuration and save changes.

NOTICE: 7.x version is limited to security support until Drupal 7 EOL.

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
3.0.7 Stable 9–11 Dec 10, 2024