1

我已经配置了 Mantis,如果我闲置一段时间后,Mantis 就会超时。我一次又一次地刷新页面,但它根本没有加载 Mantis。每当我重新启动 XAMPP 时,它就会开始正常工作(直到我不闲着)。

这是我在过期时看到的一些设置

# token expirations
define( 'TOKEN_EXPIRY', 60 * 60 );

# Default expiration of 60 minutes ( 3600 seconds )
define( 'TOKEN_EXPIRY_LAST_VISITED', 24 * 60 * 60 );
define( 'TOKEN_EXPIRY_AUTHENTICATED', 5 * 60 );
define( 'TOKEN_EXPIRY_COLLAPSE', 365 * 24 * 60 * 60 );

有人能告诉我如何度过这个超时的事情吗?我正在使用“Mantis 1.2.8”。

4

2 回答 2

1

这是你需要做的。在 authentication_api.php 上,您必须像这样评论这部分

$t_login_methods = Array(
    MD5,
//      CRYPT,
    PLAIN,
);

从螳螂论坛中发现它会起作用。

于 2012-02-15T09:03:10.967 回答
0

官方的方法是改变你的配置文件(config_inc.php)。

确保您在配置文件中有一行,例如$g_reauthentication_expiry = 60*60*2;This is example 2 hours for admin to need re-login。

于 2016-01-31T23:33:55.233 回答