Open Closed

Resetting User Password #203


0
gvb created

Hello,

I'm trying to implement the ResetPassword feature trough MVC controller for the user and i'm not sure to know how is it made with the UserManager.

i tried to get a ResetToken but i get the error: No IUserTokenProvider is registered.

_userManager.GeneratePasswordResetTokenAsync(user.Id);

Is there something implemented in ABP or should i check trough Identity ?

thx


2 Answer(s)
  • 0
    hikalkan created

    Hi,

    IUserTokenProvider is not implemented yet for AbpUserManager. You can implement it for user manager or simply handle it yourself (get user, check/set reset code... etc).

  • 0
    gvb created

    Ok thx

    i was asking before implementing the IUserTokenProvider or if i want to do a custom reset token