From c3c1bf27f297b691936f08921f43fac4d809e2ab Mon Sep 17 00:00:00 2001 From: karan Date: Sat, 10 Dec 2016 02:46:07 -0500 Subject: [PATCH] Update StartSession.php --- framework/core/src/Http/Middleware/StartSession.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/core/src/Http/Middleware/StartSession.php b/framework/core/src/Http/Middleware/StartSession.php index fae81f525..e4f42abc7 100644 --- a/framework/core/src/Http/Middleware/StartSession.php +++ b/framework/core/src/Http/Middleware/StartSession.php @@ -68,6 +68,7 @@ class StartSession implements MiddlewareInterface SetCookie::create($session->getName(), $session->getId()) ->withPath('/') ->withHttpOnly(true) + ->withSecure(true) ); } }