mirror of
https://github.com/kataras/iris.git
synced 2025-03-21 11:16:28 +01:00
fix CookieSameSite alias
fix https://github.com/kataras/iris/issues/1612
This commit is contained in:
parent
fec6783a22
commit
0273da2279
|
@ -403,7 +403,7 @@ var (
|
||||||
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
|
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
|
||||||
//
|
//
|
||||||
// A shortcut for the `context#CookieSameSite`.
|
// A shortcut for the `context#CookieSameSite`.
|
||||||
CookieSameSite = context.CookieHTTPOnly
|
CookieSameSite = context.CookieSameSite
|
||||||
// CookieSecure sets the cookie's Secure option if the current request's
|
// CookieSecure sets the cookie's Secure option if the current request's
|
||||||
// connection is using TLS. See `CookieHTTPOnly` too.
|
// connection is using TLS. See `CookieHTTPOnly` too.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user