阅读背景:

ASP.NET MVC:未经身份验证的用户始终重定向到登录页面

来源:互联网 

I've been trying to fix this for a week now, I tried everything that crossed my mind. I am creating web app using asp.net mvc 4 template. Problem is that I am always redirected to login page before I can't access any route without log in first. Not even register new user, which is absurd. I'm using simple membership and default Account controller and I even tried removing [Authorize] attribute from Account controller, but even then I'm redirected to login page. My Account controller looks like this:I've been trying to fix this for a week now, I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: