aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-22 16:04:56 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-22 16:04:56 +0100
commitd7b74385feb281ff203ae77fe6560483aae7e94a (patch)
treee05322f017c730d31ad49a19f451767abc95472a
parentdf4583814b09d3844db1ffe671b2cb8ff48a6d93 (diff)
Secure only cookie, please.
-rw-r--r--perllib/FixMyStreet/App.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 262379b79..1624f89e7 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -53,6 +53,7 @@ __PACKAGE__->config(
'Plugin::Session' => { # Catalyst::Plugin::Session::Store::DBIC
dbic_class => 'DB::Session',
expires => 3600 * 24 * 7 * 4, # 4 weeks
+ cookie_secure => 2,
},
'Plugin::Authentication' => {