]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Set secure bit on cookies when using https
[ndwebbie.git] / lib / NDWeb.pm
index a63eeaabf24d981f86f1b8d37dbc01cd14d35ccc..850c30eba8f448ac37a909e3a786b619a12aeec1 100644 (file)
@@ -66,6 +66,7 @@ __PACKAGE__->config(session => {
        directory_umask => 077,
        expires => 300,
        verify_address => 1,
+       cookie_secure => 2,
 });
 __PACKAGE__->config( "Plugin::Cache" => {
        backend => {