How to see when users last logged in, plone 5

We used to use login lockout in Plone 4.

Is this available for Plone 5, or is there another easier way to do this.

maybe you can use collective.fingerpointing for this.

Here is an example of how you can do it: https://github.com/collective/collective.lastlogin/blob/master/collective/lastlogin/view.py

1 Like

Added these two plugins to my Plone 5.0.2 setup:-

eggs =
Plone
Pillow
collective.lastlogin
collective.fingerpointing

I can see the finger pointing plugin is working fine:-

root@big5 /home/Plone5/zeocluster # more ./var/client1/audit.log
2016-04-19 06:46:25,451 - INFO - user=user@mysite.org ip=127.0.0.1 action=logged out
2016-04-19 06:46:38,667 - INFO - user=user@mysite.org ip=127.0.0.1 action=logged in
...

So all good.

But the lastlogin does not appear in my site-setup Add-ons ?

And the url just gives my standard page headers, and no user info ?

(edited url)

https://mysite.co.uk/MyPlone/@@lastlogin