You are not logged in.
Hello,
CSRF token expiration is very short (7200) and as we are sometimes documenting
installations etc. which takes a lot of time u lost everything on Save as token is expired.
Attempt to redefine with local_define.php failed as they are defined without taking this
local setting into account in define.php (GLPI_USE_CSRF_CHECK does respect it).
Is it possible to allow GLPI_CSRF_EXPIRES and GLPI_CSRF_MAX_TOKENS to be defined
via local_define.php?
i.e. something like
if (!defined('GLPI_CSRF_EXPIRES')) {
define("GLPI_CSRF_EXPIRES", "7200");
}
if (!defined('GLPI_CSRF_MAX_TOKENS')) {
define("GLPI_CSRF_MAX_TOKENS", "100");
}
Cheers.
Offline
Yep, as told here
https://github.com/glpi-project/glpi/issues/12791
Offline