1
0
Fork 0
forked from Mirrors/gomuks

server: set same-site attribute in cookies

This commit is contained in:
Tulir Asokan 2024-10-20 12:18:54 +03:00
parent 066c3ff0d3
commit 544b90f3d9

View file

@ -146,6 +146,7 @@ func (gmx *Gomuks) writeTokenCookie(w http.ResponseWriter) {
Value: token,
Expires: expiry,
HttpOnly: true,
SameSite: http.SameSiteLaxMode,
})
}