logging last login of portal user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TimES
    Junior Member
    • Jul 2025
    • 4

    #1

    logging last login of portal user

    Hello,

    is it possible to log the last login off portal users in a separate entity with a date/time stamp?

    Many thanks for support

    Tim
  • victor
    Active Community Member
    • Aug 2022
    • 1038

    #2
    TimES


    Unfortunately, the lastAccess field is very specific, although it looks like a regular field with Date-Time type. Therefore, you can only view the last activity of a specific User (Admin/Regular/Portal) in his profile.

    Click image for larger version

Name:	image.png
Views:	0
Size:	56.9 KB
ID:	122441Maybe the developer branch will help you.​

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1511

      #3
      You can write a hook which will trigger after authorization.
      Check this:
      Espo\Core\Authentication\Hook\OnResult;

      Comment

      • Kharg
        Senior Member
        • Jun 2021
        • 472

        #4
        Espocrm, Enhance your EspoCRM with Ebla Last Login by Eblasoft. This extension introduces a "Last Login Time" field, providing clear insights into user activity. It aids in tracking, maintaining important login data, and simplifying user management.

        Comment

        Working...