Merge pull request #1085 from krnch/krnch-patch-2

Cookies set with Secure flag in HTTPS mode #1084
This commit is contained in:
Toby Zerner 2016-12-11 18:16:04 +10:30 committed by GitHub
commit 8aa70de765

View File

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