Update StartSession.php

This commit is contained in:
karan 2016-12-10 02:46:07 -05:00 committed by GitHub
parent 06c32b668d
commit 076a71c621

View File

@ -68,6 +68,7 @@ class StartSession implements MiddlewareInterface
SetCookie::create($session->getName(), $session->getId()) SetCookie::create($session->getName(), $session->getId())
->withPath('/') ->withPath('/')
->withHttpOnly(true) ->withHttpOnly(true)
->withSecure(true)
); );
} }
} }