Set session to 1 day

This commit is contained in:
swagg boi 2022-02-09 19:33:47 -05:00
parent 95c3bc83a8
commit c26f034a3d

View file

@ -35,7 +35,7 @@ under sub ($c) {
# https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network # https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
$c->res->headers->header('Permissions-Policy', 'interest-cohort=()'); $c->res->headers->header('Permissions-Policy', 'interest-cohort=()');
$c->session(expiration => 604800); $c->session(expiration => 86400);
$c->stash(status => 403) if $c->flash('error'); $c->stash(status => 403) if $c->flash('error');