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).

Last login time

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

This module displays the last login time of the currently logged-in user. It stores this information in a session variable and provides a block to show it without adding any extra database tables.

This module is used to display the last login time of current logged in user.

This module stores the last login time in a session variable and pass this variable to
Last login time Block. It is a lightweight module which do not create an extra table
in a database. It is easy to install & use.

To display the last login time of current logged in user, You need to do the following.

Installation:

Drupal 7

  1. Download the module and place in sites/all/modules directory.
  2. Enable the module in admin/modules.
  3. Now goto admin/structure/block.
  4. Follow only one of the both ways mentioned below:-
    • Enable the Last login time block and assign a specific region.
    • OR
    • You can directly print session variable ("user_last_login") in your template file.
  5. You need to logout and login again to see the last login time.

Drupal 8

  1. Download the module and place into the modules directory.
  2. Enable the module in admin/modules.
  3. Now goto admin/structure/block.
  4. Click on "Place block" button and assign a particular region to "Last Login Time" block.
  5. You need to logout and login again to see the last login time.

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
Sep 2025
Latest release
11 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
3.0.0 Stable 8–10 Sep 3, 2025