Send Reset Password Email From Backend

Posted by Community Admin on 04-Aug-2018 17:11

Send Reset Password Email From Backend

All Replies

Posted by Community Admin on 02-Feb-2016 00:00

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?

This thread is closed