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

后端 未结 2 591
别跟我提以往
别跟我提以往 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

    0 讨论(0)
  • 2020-12-04 17:27

    You're right -- that's a typo in the template.

    0 讨论(0)
提交回复
热议问题