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: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). 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. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Login Time Restriction

12 sites Security covered Drupal 8–10 · not 11
View on drupal.org

This module allows administrators to restrict individual user logins to specific times or date ranges. Users will be warned before their session expires and automatically logged out when their allowed time is up, with notifications based on their user timezone.

Overview

The basic idea behind the Login Time Restriction module is to restrict the user login ( Individually ) based on the time.

This module provides a field in user edit form ( Which is accessible based on permission ) by which
you can restrict the individual user login time.
Eg: If you add start time as 10:00 AM and end time as 12:00 PM then the user will only be able to access the site within the allowed time.

Features

  • Individual user-based login restriction.
  • User will get a warning message before X mins of the session expiration. X is configuration via module settings.
  • Easily switch between per day time restriction and Date time range login restriction.
  • User will be automatically logged out after the expiration time.
  • User will be notified on every login via POP up about the session expiration. ( Only if the user is logging when less then X mins are left in session expiration )
  • Time is considered based on User Timezone ( Option that we get while creating or registering a new user )


Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2025
Latest release
8 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.3 Stable 8–10 Dec 3, 2025