I set the authentication attribute, which sets:
filterContext.Result = new HttpUnauthorizedResult();
so when i try to access
http:
and I am not authenticated. I am redirected to:
http://www.mysite.com/Account/Log?ReturnUrl=%2FForum%2FPolls
Instead, I want to have the following line:
http://www.mysite.com/Account/Log?back=%2FForum%2FPolls
therefore, instead of "ReturnUrl" you need to "return". Where can I oversee this behavior. Thanks.
source
share