From f387853ecadcdd1f87a22b5c3dad41abeb71a976 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 1 Nov 2013 08:46:15 -0500 Subject: [PATCH] Added secure option. --- app/config/session.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/config/session.php b/app/config/session.php index 5c1d2779..a1806754 100644 --- a/app/config/session.php +++ b/app/config/session.php @@ -124,4 +124,17 @@ return array( 'domain' => null, + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you if it can not be done securely. + | + */ + + 'secure' => false, + );