The required anti-forgery cookie "__RequestVerific...
# help-with-umbraco
s
Hi there, I'm trying to clear out some of the log errors on a large project on Umbraco 8.18 I've inherited. One of the regular errors being through is in the attached image. Could anyone explain generally what causes this? Any what I should be looking out for in the code to correct it? I'm guessing its something to do with forms - Umbraco forms is used extensively so I don't know if its exspected with that
h
sounds like a form post with out the antiforgery token, do you have any forms that do not use BeginUmbracoForm?
s
hmm quite possibly, its quite an extensive site will have a trawl through and see
for forms which don't use Umbraco forms, does this need to be added to each one?
I've found it on some hardcoded forms but not all...
h
either that or decorate the action with [IgnoreAntiforgeryToken]
51 Views