require_login
Security covered
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-requirementsto configure. - Set configuration and save changes.
NOTICE: 7.x version is limited to security support until Drupal 7 EOL.