ASP.NET: Password Recovery link on a LogIn control requires a user to login – Education Career Blog

I’m trying to test this out on my site but it doesn’t quite work because I have to be logged in to go to this page.

Is there a configuration setting that I haven’t set or set incorrectly?

EDIT: rm’s answer led me to this link from Microsoft.

,

adding to Arjan’s answer, the settings for page permissions are in your web.config file.

you should do something like this:

<configuration>
   <location path="YourPage.aspx">
      <system.web>
         <authorization>
            <allow users="?"/>
         </authorization>
      </system.web>
   </location>
</configuration>

,

I’m guessing that the page containing the PasswordRecovery control is in a accesscontrolled folder.

So when trying to reach that page, you’re being redirected to the login page again…

Leave a Comment