none
Sharepoint 2013 : FBA Password Reminder RRS feed

  • Question

  • My 'Forgot Password' link on my custom login page redirects back to the login page. I need to enable anonymous access for the 'Forgot Password' page only. How do I do this?

    I have implemented a custom login page using FBA. My login page works fine. I have added a 'Forgot Password' button which redirects to another aspx application page in the same folder: SPUtility.Redirect("MyAppPages/sendPassword.aspx", SPRedirectFlags.RelativeToLayoutsPage Or SPRedirectFlags.UseSource, Me.Context)
    My sendPassword page inherits from UnsecuredLayoutsPageBase. And; I have added an override of AllowAnonymousAccess by returning true.

    I have added the following to the web.config wss\VirtualDirectories\80
      <location path="_layouts/15/MyAppPages/forgotPassword.aspx">
      <system.web>
          <authorization>
            <allow users="*" />
          </authorization>
        </system.web>
       </location>

    Monday, September 23, 2013 9:14 AM