Cookie expires after one month

This commit is contained in:
CPbN 2019-04-07 16:54:17 +02:00
parent 1d061a4931
commit 431b2ef914
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}