Vulnerability in EPiServer.Forms
Is there any way to find out when a user was the last login to Episerver?
If you are using MembershipProvider, then you can use https://docs.microsoft.com/en-us/dotnet/api/system.web.security.membershipuser.lastlogindate?view=netframework-4.8
If you are using AspNetIdentity, you would need to add custom property to your identity class (inherits from ApplicationUser), then update that property when the user logs in successfully
@Quan Mai, ApplicationUser already has the LastLoginDate property and I managed to access it. So I don't have to manually do any saving/update. Thanks for pointing to ApplicationUser