Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi guys
Why using the AuthorizeAttribute in a SurfaceController Action always redirect to "~/Account/Login" page ?
I'm using a custom configuration in the web.config to my own login page but the result is the same.
<authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="~/login"/></authentication>
Maybe I'm doing something wrong. I appreciate an answer for this.
;)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
AuthorizeAttribute is not redirecting to loginUrl
Hi guys
Why using the AuthorizeAttribute in a SurfaceController Action always redirect to "~/Account/Login" page ?
I'm using a custom configuration in the web.config to my own login page but the result is the same.
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="~/login"/>
</authentication>
Maybe I'm doing something wrong. I appreciate an answer for this.
;)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.