Level 73
Here is an answer on SO that I already gave, so take a look if you want to override the behavior :)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a page with a form in it. On session timeout, the form shows a "419 Page expired" error because I think thew csrf token expires as well but I want it to redirect to the login page on submit. How can I fix this?
Here is an answer on SO that I already gave, so take a look if you want to override the behavior :)
Please or to participate in this conversation.