Cacti 报错 CSRF Timeout occurred due to inactivity, page refreshed.

编辑文件csrf-magic.php

# vim /usr/local/cacti/include/vendor/csrf/csrf-magic.php

添加如下:

$GLOBALS['csrf']['defer'] = false;
$GLOBALS['csrf']['defer'] = true;