AntiForgeryToken deprecated in ASP.Net MVC 4 RC

后端 未结 1 1373
离开以前
离开以前 2021-02-05 03:02

I just installed ASP.Net MVC 4 RC to replace ASP.Net MVC 4 beta. When trying to run an existing application I\'m getting an error message that AntiForgeryToken has

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 03:45

    Setting the salt parameter is unnecessary and didn't provide any additional protection, so we removed support for it.

    Please see my response at How to choose a salt value for ValidateAntiForgeryToken for more information.

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