Kirby

Session timeout when submitting a form

Hi,

there is an issue when submitting a form when a file was uploaded or the user took some time to fill out the form. When submitting the form you get redirected to the Kirby CMS Debugger with the error message “Token Mismatch Exception - The CSRF token was invalid”.

When the upload fields are disabled, the submission of the form is working properly.

Hi @lepauf, welcome to the forum.

Ok, this is Kirby 2. Is that a plugin your are using? Could you please provide some more context?

Edit: Looks like you’re using the Uniform plugin.