When remember me token lifetime value expired, my app will automatically log me out and the login page will be displayed. When I attempt to log back in, I receive an error message stating “invalid csrf token”. Subsequently, the page refreshes and takes me back to the login page. However, upon my second attempt to log in, it works fine. Can you please tell me what is the default lifetime value of a CSRF token in PHP Symfony, and if it’s possible to adjust this value?
Should the new csrf token be generated automatically when we open the login page? Any ideas for resolving this issue