c# - Asp.Net Identity 2 Password reset link No of clicks -
How can I know that the user has clicked on the password link for the first time in Aspnet Identity 2. If a user clicks on the link multiple times, then it should not work. We can set the time for the link but do not set any click in the token.
To store the number of clicks, just use the flag in the database described by Gujju developers.
If you want to make sure that the link has not been used for the second time, use it to call For more information about canceling a token, please read this post: userManager.UpdateSecurityStampAsync ()
Comments
Post a Comment