ASP.Net User forgot answer to password question
问题 How can I reset a password for a user who forgot both the password and the answer to the password reset question? I'm using ASP.Net membership. 回答1: Assuming your membership provider ("AspNetSqlMembershipProvider") in Web.config has requiresQuestionAndAnswer="true" , make a second provider (such as "AspNetSqlMembershipProviderAdministrativeReset") with all of the same settings except for requiresQuestionAndAnswer="false" . Then you can create an action that explicitly uses the second provider