As I checked the Auditlog it is empty. It is not saving any information to LoginAttempt.
How do I get the Active Users Information to display all the active users list on the frontpage?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Something like:
Member::get()->filter(['LastVisited:GreaterThan'=>date('Y-m-d H:i:s', strtotime(session_cache_expire().' minutes ago'))])