The CSRF token is invalid on Uniform form

I moved a site over to a new server and now my uniform contact form is showing an error for an invalid CSRF token, could this be caused be the site move? Not really sure what the purpose of the token is.

The token is a security measure, CSRF stands for Cross Site Request Forgery.

There are multiple reasons why such a token can become invalid. If you go through the solved examples the search uncovers, you might find the reason that applies to your use case: https://forum.getkirby.com/search?q=invalid%20csrf%20token

I cleared the sessions folder and have no problems now.