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

Forums / Developing with Sitefinity / Update Password

Update Password

2 posts, 0 answered
  1. Ian
    Ian avatar
    1 posts
    Registered:
    18 Dec 2007
    20 Apr 2009
    Link to this post
    Is there an "Update Password" property or feature that can be added so that a user accessing a secured published page can update their password? I am looking for a feature or setting not requiring me to write my own procedure, not sure if I am missing something.

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    21 Apr 2009
    Link to this post
    Hello Ian,

    You can add PasswordRecovery that resets the user password and an email to the user is sent. Another option is implementing your own logic for recovering user password.

    Sample:

    MembershipUser user = UserManager.Default.GetUser(); 
    user.ChangePassword(oldPass, newPass); 
    UserManager.Default.UpdateUser(user); 
     

    There is a built in implementation in the backend - Myprofile section >> Password Recovery.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered