Update documentation and remove hack fixed by upstream cookie library
This commit is contained in:
parent
8d4278bfd2
commit
34b194c770
2 changed files with 2 additions and 5 deletions
|
|
@ -54,15 +54,12 @@ function _M.set_cookie(self, value)
|
|||
end
|
||||
end
|
||||
|
||||
if cookie_samesite then
|
||||
cookie_path = cookie_path .. "; SameSite=" .. cookie_samesite
|
||||
end
|
||||
|
||||
local cookie_data = {
|
||||
key = self:cookie_name(),
|
||||
value = value,
|
||||
path = cookie_path,
|
||||
httponly = true,
|
||||
samesite = cookie_samesite,
|
||||
secure = ngx.var.https == "on",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue