Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Custom PasswordHasher not used by ABPUserManager #1495


User avatar
0
guillaumej created

I want to use my own PasswordHasher, but this line:

var verificationResult = new PasswordHasher().VerifyHashedPassword(user.Password, plainPassword);

is always creating and using the default identity hasher

Is there any reason you can't use UserManager.PasswordHasher?

(it would be nice also if we could overload loginasync withotu having to rewrite everything in ABPUserManager, but I'm not sure I could be done without exposing too much)


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    There is no reason actually, we will implement it as you suggested. Please follow <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/235">https://github.com/aspnetboilerplate/mo ... issues/235</a>