Fix cookie warning

This commit is contained in:
Deluan 2021-06-20 13:27:50 -04:00
parent 197d430d15
commit 47bcf719f2
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ func clientUniqueIdAdder(next http.Handler) http.Handler {
Value: clientUniqueId,
MaxAge: consts.CookieExpiry,
HttpOnly: true,
Secure: true,
SameSite: http.SameSiteNoneMode,
Path: "/",
}
http.SetCookie(w, c)