patch: enable secure cookie

This commit is contained in:
Mohamed Sohail 2022-06-02 11:51:19 +03:00
parent e19ba9d50c
commit 5319359e88
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -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
} }