Symfony 5: CSRF token is invalid

I know this has been asked many times before and I have been searching the web for the last hour but I can’t find a solution.

What I’m trying to do is update my user data, in this case, my username.

I have profiler installed to check on errors and stuff like that, I haven’t even submitted the form to change and I get an error that the token is invalid. I checked the source to see if it was even there and yes it was.

img

PS: Images are like this because I need 10 rep.

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *