Change the login session
To increase the login session time, please modify the /app/Config/Session.php file.
Please find the public int $expiration and increase the value then save the file.
By default, the session expiration time is set to 7200 seconds (2 hours).
Change the CSRF session
To increase the login CSRF session time, please modify the /app/Config/Security.php file.
Please find the public int $expires and increase the value then save the file.
By default, the session expiration time is set to 7200 seconds (2 hours).