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

Forums / Developing with Sitefinity / Working with forgotpassword?

Working with forgotpassword?

2 posts, 0 answered
  1. Thavarajah
    Thavarajah avatar
    48 posts
    Registered:
    15 Oct 2010
    08 Feb 2011
    Link to this post
    Hi Team,

    we are using custom page for forgot password, once user clicks on forgot password link user will be asked to key in the secret question answer. problem is regardless of of user key in correct secret question answer or not we receive email for reset password. we should not be receiving the mail if  secret question answer is wrong

    How can we check for user key in correct secret question answer? we are failed to check by doing database call as secret question answer is encrypted because it was saved by calling asp.net ChangePasswordQuestionAndAnswer() method.

    in our web config we have
    //requiresQuestionAndAnswer="false"

    we use this asp.net method for check secret question answer
    //string strTempPwd = obj.ResetPassword(txtAnswer.Text);

    Brgds.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    09 Feb 2011
    Link to this post
    Hi Thavarajah,

    If RequiresQuestionAndAnswer is false what is the answer you are passing to ResetPassword method?
    By default RequireQuestionAndAnswer gets a value indicating whether the default membership provider requires the user to answer a password question for password reset and retrieval.

    All the best,
    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