Send Reset Password Email From Backend - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Send Reset Password Email From Backend

  • Send Reset Password Email From Backend
  • 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?