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();
|
$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);
|
$options{statefile}->write(data => $datas);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue