Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

last_login

45 sites Security covered
View on drupal.org

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.

Activity

Total releases
1
First release
Sep 2025
Latest release
8 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.0.0 Stable Sep 3, 2025