ASP.NET MVC 5 Web.config: “FormsAuthenticationModule” or “FormsAuthentication”

后端 未结 2 594
别跟我提以往
别跟我提以往 2020-12-04 16:35

Ok so this not a big deal, but it\'s bugging me and I can\'t let it go.

So I\'m using MVC 5.1 with .NET 4.5.1 and OWIN authentication. So when you create a new MVC 5

2条回答
  •  青春惊慌失措
    2020-12-04 17:16

    A major side effect of this "typo" is it will leave FormsAuthentication on causing loginpath of owin to be ignored and calls to authenticated pages going to /login.aspx

提交回复
热议问题