A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
Yes that example is incorrect, it will display the total number of currently logged in users. The number of individual logins is not recorded, only the last login date. What you can do is increment an integer attribute on the user on every login and then present that in the profile.
/Mattias
How can I get the number of times a user has logged in? On sc3demo.netstar.se the "Logins" on my page are generated by OnlineStatusModule.OnlineCount but that can't be correct.
Thanks!