0
kansoftware created
Hi, I am creating users directly from database using store procedure. All work is done but i am not able to set password in encrypted with my dynamic string. can use help us what algorithm is use in ASP.Net Zero for user password.
Thanks, Mohit
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
You need to inject
IPasswordHasher<User>and then use it as shown below;_passwordHasher.HashPassword(user, password)Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)