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
    • 1102

    #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
      • 1545

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

      Comment

      • Kharg
        Senior Member
        • Jun 2021
        • 481

        #4
        Espocrm, Ebla Last Login enhances EspoCRM by adding a “Last Login Time” field to user records. This gives administrators quick insight into user activity and helps simplify user monitoring and management. This data can be used in formulas or workflows to trigger actions such as sending notifications, emails, or running automated checks.Whether you want to monitor inactive users, improve security awareness, or automate follow‑ups, Ebla Last Login gives you the visibility and flexibility you need.

        Comment

        Working...