On the asp.net mvc3 website, I imported the microsoft.web.helpers, webmatrix.data and webmatrix.webdata files. After that, I found that when I use the [Authorize] attribute for some ActionResults in controllers, my redirection points to the \ login account and not the \ logon account, as it was before, and is the default value.
I do not use WebMatrix, but I want to use the microsoft.web.helpers function. I searched the code for any link to the \ login account, but I could not find it. My web configuration for authentication is shown below:
<authentication mode="Forms"> <forms loginUrl="~/Account/LogOn" timeout="2880" /> </authentication>
liquidanswer
source share