Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Login Time Restriction

Security covered Under active development 9 sites

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 )


Drupal 8–10 · not 11

Ask your assistant about Login Time Restriction

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
2
Tracked since
Aug 2023
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.3 Stable 8–10 Dec 3, 2025
1.0.2 Stable 8–10 Aug 21, 2023