Fix: cookies

This commit is contained in:
Grail Finder
2025-05-29 11:50:03 +03:00
parent 7fab000d20
commit 09e2b2f4b6

View File

@ -144,10 +144,10 @@ func makeCookie(username string, remote string) (*http.Cookie, error) {
cookie := &http.Cookie{
Name: cookieName,
Value: cookieValue,
Secure: true,
// Secure: true,
HttpOnly: true,
SameSite: http.SameSiteNoneMode,
Domain: cfg.ServerConfig.Host,
// Domain: cfg.ServerConfig.Host,
}
log.Info("check remote addr for cookie set",
"remote", remote, "session", session)