The anti-forgery token could not be decrypted

前端 未结 11 1226
萌比男神i
萌比男神i 2020-11-28 08:34

I have a form:

@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
@Html.AntiForgeryToken()
@Html.ValidationSummary()...

and a

11条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-28 08:55

    If you get here from google for your own developer machine showing this error, try to clear cookies in the browser. Clear Browser cookies worked for me.

提交回复
热议问题