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

Forums / Developing with Sitefinity / PasswordQuestion/Answer

PasswordQuestion/Answer

2 posts, 0 answered
  1. Dhana
    Dhana avatar
    1 posts
    Registered:
    28 Jun 2010
    01 Nov 2010
    Link to this post
    Hello Team,

    As per the solution provided in the below post

    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/3-7-sp4-broke-question-and-answer-for-user-creation.aspx

    I have included Question and Answere fields in the Item Template / and Edit teamplate also.. 
    For new entry it was working great.. But for  restting the password , we are getting the Wriong Answer error at  the below line

    protected

     

    void passwordRecoveryButton_Click(object sender, EventArgs e)

     

    {

     

    string newPassword = manageUsers.Manager.MembershipProvider.ResetPassword(manageUsers.UserName, "42");

     

    -----
    }

    This is because the answer in the DB is diffrent than the one passing to the reset function.. In order to pass the correct answer to the this function, what steps should i follow..??  Thsi means how to get the  password and answer in the edit template..??

    Thanks for the help..

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Nov 2010
    Link to this post
    Hi Dhana,

    If you use an older version of Sitefinity, please upgrade your project to the latest official release. There are some issue in Sitefinity 3.7 SP1, SP2 and SP3 related to the resetting a user's password.

    I am not able to replicate any issues resetting the password of a user 10 times in a row.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered