+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Send Reset Password Email From Backend

Send Reset Password Email From Backend

1 posts, 0 answered
  1. Raymond Dowe
    Raymond Dowe avatar
    37 posts
    Registered:
    10 Mar 2010
    02 Feb
    Link to this post

    I have an existing website running Sitefinity 8.0.5710.0. One of my colleagues has already overriden the backend User Edit template (UserEdit.ascx) in order to add some extra fields.

    What I'd like to do now is change the behaviour of the Reset Password button in the right column. Currently it's executing the default behaviour of generating a new password, showing it to the administrator, and sending an email to the user with their new password. Instead of this, I'd like to send a password reset link, like what happens with the UserManager.SendRecoveryPasswordMail function.

    I've had a look at the UserEdit.ascx template and it looks like this button is hitting the MembershipSettings.svc and executing passwordRecoveryExecute, but I'm not sure how to change this to get my desired behaviour.

    Does anyone know if there is an easy way to do this?

1 posts, 0 answered