A blog about interesting stuff that I want to remember, but am too lazy to write down.
Tuesday, 12 May 2015
MVC 4: The required anti-forgery form field "__RequestVerificationToken" is not present
It seems the best things in life come in pairs:
If you have a ValidateAntiForgeryToken annotation in your controller, you need to have a @Html.AntiForgeryToken() in your view.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)