Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Download and install the module. Recommended install method is composer:
composer require drupal/require_login
- Go to
/admin/config/people/login-requirements
to configure. - Set configuration and save changes.
NOTICE: 7.x version is limited to security support until Drupal 7 EOL.
Supporting organizations:
Project information
- Module categories: Administration Tools, Access Control, Security
- 2,670 sites report using this module
- Created by robphillips on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.