mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
Cookie expires after one month
This commit is contained in:
parent
1d061a4931
commit
431b2ef914
@ -164,7 +164,7 @@ sub get_cookie {
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
|
||||
my $datas = { last_timestamp => time(), cookie => $cookie, expires_on => time() + 7200 };
|
||||
my $datas = { last_timestamp => time(), cookie => $cookie, expires_on => time() + (3600 * 24) };
|
||||
$options{statefile}->write(data => $datas);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user