fix CookieSameSite alias

fix https://github.com/kataras/iris/issues/1612
This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-09-01 13:37:07 +03:00
parent fec6783a22
commit 0273da2279
No known key found for this signature in database
GPG Key ID: 5DBE766BD26A54E7

View File

@ -403,7 +403,7 @@ var (
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
//
// A shortcut for the `context#CookieSameSite`.
CookieSameSite = context.CookieHTTPOnly
CookieSameSite = context.CookieSameSite
// CookieSecure sets the cookie's Secure option if the current request's
// connection is using TLS. See `CookieHTTPOnly` too.
//