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