From c26f034a3d785a83bdf65cc3ac7d577e60a6482e Mon Sep 17 00:00:00 2001 From: swag Date: Wed, 9 Feb 2022 19:33:47 -0500 Subject: [PATCH] Set session to 1 day --- guestbook-ng.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guestbook-ng.pl b/guestbook-ng.pl index d0452d5..3aa1b16 100755 --- a/guestbook-ng.pl +++ b/guestbook-ng.pl @@ -35,7 +35,7 @@ under sub ($c) { # https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network $c->res->headers->header('Permissions-Policy', 'interest-cohort=()'); - $c->session(expiration => 604800); + $c->session(expiration => 86400); $c->stash(status => 403) if $c->flash('error');