mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#11437 regenerate timeout when login user
This commit is contained in:
parent
1980458572
commit
e483c255e0
@ -662,6 +662,7 @@ if (isset($config['id_user']) === false) {
|
|||||||
db_logon($nick_in_db, $_SERVER['REMOTE_ADDR']);
|
db_logon($nick_in_db, $_SERVER['REMOTE_ADDR']);
|
||||||
$_SESSION['id_usuario'] = $nick_in_db;
|
$_SESSION['id_usuario'] = $nick_in_db;
|
||||||
$config['id_user'] = $nick_in_db;
|
$config['id_user'] = $nick_in_db;
|
||||||
|
config_prepare_expire_time_session(true);
|
||||||
|
|
||||||
// Check if connection goes through F5 balancer. If it does, then
|
// Check if connection goes through F5 balancer. If it does, then
|
||||||
// don't call config_prepare_session() or user will be back to login
|
// don't call config_prepare_session() or user will be back to login
|
||||||
|
Loading…
x
Reference in New Issue
Block a user