Base solution for your next web application
Open Closed

Resetting User Password #203


User avatar
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)
  • User Avatar
    0
    hikalkan created
    Support Team

    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).

  • User Avatar
    0
    gvb created

    Ok thx

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