Fix cookie warning

This commit is contained in:
Deluan 2021-06-20 13:27:50 -04:00 committed by Joe Stump
parent 05498513c7
commit 5bbf0e03f9
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

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)