mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +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.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user