Hi All,
I have a PasswordRecovery control on a page, but it is not working. Here is my web.config entry:
<membership defaultProvider="yyySqlMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear/>
<add name="yyySqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="yyyConnectionString" applicationName="yyy" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed"/>
</providers>
</membership>
The problem is that when I go to the page with the PasswordRecovery control, I NEVER see the question & answer dialog, I always see the "resend password" dialog where I have to enter my username. Since passwords are hashed this fails.
My PasswordRecovery control looks like this:
<asp:PasswordRecovery ID="recoverMain" runat="server" BackColor="#F7F6F3" BorderColor="#E6E2D8"
BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"
Font-Size="0.8em">
<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
<SuccessTextStyle Font-Bold="True" ForeColor="#5D7B9D" />
<TextBoxStyle Font-Size="0.8em" />
<TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
<SubmitButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
</asp:PasswordRecovery>
I am using the standard SQL tables created via aspnet_regsql, and everything else works (login, change password, profile object, etc).
Thoughts?
:-)
Thanks!