ASP.NET MVC 5 - GeneratePasswordResetToken with custom user table

I have a table 'user' with the following fields:

  • id
  • username
  • password
  • salt
  • folder_files
  • active

The password is obtained using Rfc2898DeriveBytes. I would like to allow the user to change his password. I read the this guide:

I would like to use the GeneratePasswordResetToken. How can I use this method (and therefore also ASP.NET Identity) with che 'user' table (also maintaing the use of Rfc2898DeriveBytes for password hasing)? Can I avoid using the AspNetUsers table?


Unfortunately, that's not possible. However, the AspNetUsers is customizable, as the Password Hasher.

Need Your Help

Git pull a certain branch from GitHub

git merge branch github pull

I have a project with multiple branches. I've been pushing them to GitHub, and now that someone else is working on the project I need to pull their branches from GitHub. It works fine in master. Bu...

Cron stops after some time of execution

php mysqli cron

I have a cron in server, and it set as 2 6 *** wget