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

前端 未结 0 1845
鱼传尺愫
鱼传尺愫 2021-02-07 17:10

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

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