The anti-forgery token could not be decrypted

前端 未结 11 1222
萌比男神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 09:08

    Just generate tag from a link for your framework version and insert into in Web.config if it does not exist.

    Hope this helps.

提交回复
热议问题