From: Michael Andreen Date: Thu, 7 Mar 2019 19:01:02 +0000 (+0100) Subject: Set secure bit on cookies when using https X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=58051bd156c4626863b843aabf1c51606a2f289c Set secure bit on cookies when using https --- diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index a63eeaa..850c30e 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -66,6 +66,7 @@ __PACKAGE__->config(session => { directory_umask => 077, expires => 300, verify_address => 1, + cookie_secure => 2, }); __PACKAGE__->config( "Plugin::Cache" => { backend => {