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) ); } }