Generate custom PasswordHash with Microsoft.AspNet.Identity

Copper Contributor

Hi ,

I'm using VS2022 and I want to override the Default PasswordHash. I want to include when the user is created in the Hash Password the username for example. I found some code  but it is for the Core.

And I'm not using the core

I have created a  MyCustomPasswordHash which inherits from IPasswordHasher. But it doesn't contain the user. If I override the methods it contains only the passwords.

Is it possible to override the default behavior of PasswordHash and make it work in Microsoft.AspNet.Identity.Owin ??? 

0 Replies