Do I need to use `[ValidateAntiForgeryToken] and @Html.AntiForgeryToken()` on all my pages?

前端 未结 0 1055
臣服心动
臣服心动 2021-02-07 16:35

All my project\'s page need authentication.. And Normally I dont use [ValidateAntiForgeryToken] and @Html.AntiForgeryToken() on my Controller and View.. Only login

相关标签:
回答
  • 消灭零回复
提交回复
热议问题