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 userManager.UpdateSecurityStampAsync ()

For more information about canceling a token, please read this post:

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

Simple file compression in C -

php - Sorting an multidimension array using usort fails -