You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
also, I wanted to mention I added this to my project with nuget. It appears that 1.0.8 from nuget doesn't have the antiforgery tokens in the cshtml files
You can see an example of how to implement this here
The controller asks for the AntiForgeryToken by adding [ValidateAntiForgeryToken] to the action , the form than has to have a @Html.AntiForgeryToken() to send to the controller. Correct me if I'm wrong.
Ok great I added those and that seemed to fix. Not sure why those were missing, I didn't remove them or anything. I added this to a visual studio project with nuget
I'm getting a yellow screen message
The required anti-forgery cookie "__RequestVerificationToken" is not present.
How do I include the anti-forgery cookie? Thanks for any guidance, I appreciate it!
The text was updated successfully, but these errors were encountered: