mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2024-12-22 10:57:33 +01:00
patch: enable secure cookie
This commit is contained in:
parent
e19ba9d50c
commit
5319359e88
@ -79,10 +79,10 @@ func cookieDefaults() *http.Cookie {
|
|||||||
cookie := new(http.Cookie)
|
cookie := new(http.Cookie)
|
||||||
|
|
||||||
cookie.Name = "_ge_auth"
|
cookie.Name = "_ge_auth"
|
||||||
cookie.Path = "/"
|
cookie.Path = "/"
|
||||||
cookie.SameSite = 3
|
cookie.SameSite = 3
|
||||||
cookie.HttpOnly = true
|
cookie.HttpOnly = true
|
||||||
cookie.Secure = false
|
cookie.Secure = true
|
||||||
|
|
||||||
return cookie
|
return cookie
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user