Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: RightUp 1.0.2 — Minor update available for module rightup (1.0.2). Release: CronWatch 0.12.1 — Minor update available for module cronwatch (0.12.1). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Login Lock (login_lock) module allows to force logout users during enabled login lock and prevent login for configured users roles.

Sometime when you plan to deploy you don't want to close your site in "maintenance mode" because you want to allow visitors to read content. Instead, you can log out all users and disable authorization on the site during deployment using this module.

Features

  • Logout all users (except users with roles able to bypass login lock) when enabled Login Lock and redirect to configured page.
  • When user try to authorize show message about site in maintenance mode and user should try login later.

Usage

  1. Enable module
  2. Go to module settings page (/admin/config/people/login-lock/settings) and configure module
  3. Go to Login Lock status form (/admin/config/people/login-lock) and enable Login Lock. Or you can use drush command drush login-lock-status 1 for enable Login lock.
  4. As result users without permission to bypass login lock won’t be able to login. Also they will be automatically logged out and redirected to configured page.
  5. For disable login lock go to Login Lock status form (/admin/config/people/login-lock) and disable Login Lock. Or you can use drush command drush login-lock-status 0 for disable Login Lock.

Drush commands:

drush login-lock-status 1 to enable login lock.
drush login-lock-status 0 to disable login lock.

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
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.1 Stable May 18, 2023